Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 172.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009226/0.0009228, allocations: 91.84 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.55e-05, allocations: 12 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6857, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.499/5.185, allocations: 2.062 GB / 3.035 GB, free: 67.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/5.185, allocations: 84.89 kB / 3.035 GB, free: 67.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.951/6.136, allocations: 240.1 MB / 3.27 GB, free: 210.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.653e-06/6.136, allocations: 0 / 3.27 GB, free: 210.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.476e-05/6.136, allocations: 12 kB / 3.27 GB, free: 210.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009386/6.137, allocations: 0.6423 MB / 3.27 GB, free: 209.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/6.137, allocations: 8.031 kB / 3.27 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/6.138, allocations: 151.4 kB / 3.27 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/6.139, allocations: 324.7 kB / 3.271 GB, free: 208.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/6.139, allocations: 8 kB / 3.271 GB, free: 208.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/6.139, allocations: 19.95 kB / 3.271 GB, free: 208.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002461/6.139, allocations: 149 kB / 3.271 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/6.139, allocations: 228.8 kB / 3.271 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/6.139, allocations: 0 / 3.271 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/6.139, allocations: 4 kB / 3.271 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/6.139, allocations: 4 kB / 3.271 GB, free: 208.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/6.14, allocations: 1.156 MB / 3.272 GB, free: 207.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/6.141, allocations: 110.5 kB / 3.272 GB, free: 207.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/6.141, allocations: 68.78 kB / 3.272 GB, free: 207 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003962/6.141, allocations: 303.3 kB / 3.273 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/6.141, allocations: 30.56 kB / 3.273 GB, free: 206.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/6.141, allocations: 0 / 3.273 GB, free: 206.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.000554/6.142, allocations: 218.8 kB / 3.273 GB, free: 206.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/6.142, allocations: 55.34 kB / 3.273 GB, free: 206.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/6.142, allocations: 210.4 kB / 3.273 GB, free: 206.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/6.142, allocations: 25.7 kB / 3.273 GB, free: 206.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/6.142, allocations: 196 kB / 3.273 GB, free: 205.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/6.142, allocations: 47.2 kB / 3.273 GB, free: 205.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/6.142, allocations: 0 / 3.273 GB, free: 205.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/6.142, allocations: 338.8 kB / 3.274 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/6.142, allocations: 48.8 kB / 3.274 GB, free: 205.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/6.142, allocations: 110.7 kB / 3.274 GB, free: 205.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/6.142, allocations: 97.81 kB / 3.274 GB, free: 205.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/6.142, allocations: 0 / 3.274 GB, free: 205.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003433/6.143, allocations: 225.1 kB / 3.274 GB, free: 205 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/6.143, allocations: 4.094 kB / 3.274 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/6.143, allocations: 8 kB / 3.274 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/6.143, allocations: 0 / 3.274 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/6.143, allocations: 55.91 kB / 3.274 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/6.143, allocations: 3.984 kB / 3.274 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/6.143, allocations: 31.88 kB / 3.274 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/6.143, allocations: 12 kB / 3.274 GB, free: 204.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/6.143, allocations: 104.9 kB / 3.274 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003041/6.144, allocations: 186.5 kB / 3.275 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/6.144, allocations: 31.64 kB / 3.275 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/6.144, allocations: 205.9 kB / 3.275 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/6.144, allocations: 3.953 kB / 3.275 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/6.144, allocations: 0 / 3.275 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/6.144, allocations: 0 / 3.275 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/6.145, allocations: 0.641 MB / 3.275 GB, free: 203.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/6.145, allocations: 0 / 3.275 GB, free: 203.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/6.145, allocations: 40.14 kB / 3.275 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/6.145, allocations: 4 kB / 3.275 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/6.145, allocations: 4 kB / 3.275 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/6.145, allocations: 11.92 kB / 3.275 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/6.145, allocations: 0 / 3.275 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/6.146, allocations: 490 kB / 3.276 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/6.146, allocations: 112.8 kB / 3.276 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/6.146, allocations: 7.922 kB / 3.276 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/6.146, allocations: 15.98 kB / 3.276 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/6.146, allocations: 23.98 kB / 3.276 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/6.146, allocations: 7.953 kB / 3.276 GB, free: 202.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.601e-05/6.146, allocations: 170 kB / 3.276 GB, free: 202.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/6.146, allocations: 0 / 3.276 GB, free: 202.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000521/6.147, allocations: 147.8 kB / 3.276 GB, free: 202.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/6.148, allocations: 2.561 MB / 3.279 GB, free: 199.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002295/6.149, allocations: 136.9 kB / 3.279 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/6.149, allocations: 0 / 3.279 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/6.149, allocations: 75.84 kB / 3.279 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/6.149, allocations: 107.5 kB / 3.279 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/6.15, allocations: 0.4908 MB / 3.28 GB, free: 199 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/6.15, allocations: 0.799 MB / 3.28 GB, free: 198.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001733/6.151, allocations: 57.97 kB / 3.28 GB, free: 198.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/6.151, allocations: 91.41 kB / 3.281 GB, free: 198.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/6.151, allocations: 4 kB / 3.281 GB, free: 198.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/6.181, allocations: 14.38 MB / 3.295 GB, free: 183.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/6.181, allocations: 157.3 kB / 3.295 GB, free: 183.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/8.429, allocations: 0.9844 kB / 3.295 GB, free: 183.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)