Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.821/1.821, allocations: 288.4 MB / 303.4 MB, free: 8.152 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.0009984/0.0009983, allocations: 187 kB / 372 MB, free: 10.28 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.657/1.657, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007087/0.0007085, allocations: 78.42 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004002, allocations: 11.75 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2043, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6253/0.8296, allocations: 152.1 MB / 1.128 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.8323, allocations: 1.478 MB / 1.13 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.8327, allocations: 14.19 kB / 1.13 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.8331, allocations: 107.7 kB / 1.13 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.8347, allocations: 0.5073 MB / 1.13 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.8363, allocations: 457.6 kB / 1.131 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.8375, allocations: 0.8409 MB / 1.131 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.8379, allocations: 175 kB / 1.132 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.8385, allocations: 315.8 kB / 1.132 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.8389, allocations: 224.8 kB / 1.132 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.8389, allocations: 13.56 kB / 1.132 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.84, allocations: 467.7 kB / 1.133 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.8401, allocations: 99.98 kB / 1.133 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.8403, allocations: 91.42 kB / 1.133 GB, free: 16.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.8408, allocations: 454.5 kB / 1.133 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8408, allocations: 0 / 1.133 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8408, allocations: 0 / 1.133 GB, free: 16.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.8409, allocations: 2.844 kB / 1.133 GB, free: 16.68 MB / 0.698 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.0009049/0.8418, allocations: 0.6052 MB / 1.134 GB, free: 16.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.8418, allocations: 11.72 kB / 1.134 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.8429, allocations: 159.1 kB / 1.134 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.8434, allocations: 309.1 kB / 1.134 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.8434, allocations: 18.84 kB / 1.134 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.8435, allocations: 22.19 kB / 1.134 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.844, allocations: 284.5 kB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.844, allocations: 6.375 kB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.844, allocations: 9.031 kB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.8441, allocations: 5.812 kB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.8445, allocations: 215.7 kB / 1.135 GB, free: 15.84 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001369/0.8459, allocations: 1.231 MB / 1.136 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.8462, allocations: 161 kB / 1.136 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.8464, allocations: 98.72 kB / 1.136 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000656/0.847, allocations: 316.9 kB / 1.137 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.8471, allocations: 30.56 kB / 1.137 GB, free: 14.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 2.805e-06/0.8471, allocations: 4 kB / 1.137 GB, free: 14.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0007718/0.8479, allocations: 314.6 kB / 1.137 GB, free: 14.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.8479, allocations: 54.28 kB / 1.137 GB, free: 14.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.8482, allocations: 317.6 kB / 1.137 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.8483, allocations: 32.95 kB / 1.137 GB, free: 14.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.8484, allocations: 181.5 kB / 1.137 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.8484, allocations: 62.84 kB / 1.137 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.8485, allocations: 3.25 kB / 1.137 GB, free: 14.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8486, allocations: 340.7 kB / 1.138 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.8488, allocations: 75.48 kB / 1.138 GB, free: 13.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.849, allocations: 135.5 kB / 1.138 GB, free: 13.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.8492, allocations: 88.69 kB / 1.138 GB, free: 13.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8492, allocations: 0 / 1.138 GB, free: 13.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004485/0.8496, allocations: 265.2 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.8497, allocations: 6.688 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8497, allocations: 0 / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8497, allocations: 6.078 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.8499, allocations: 45.23 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8499, allocations: 5.062 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.8502, allocations: 39.19 kB / 1.138 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.8502, allocations: 18.53 kB / 1.138 GB, free: 13.76 MB / 0.698 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 () * Number of clocked 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 0.0001453/0.8504, allocations: 156.2 kB / 1.139 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.8504, allocations: 31.62 kB / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.8509, allocations: 252.2 kB / 1.139 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8509, allocations: 0 / 1.139 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8509, allocations: 0 / 1.139 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.851, allocations: 3.531 kB / 1.139 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.8519, allocations: 0.7069 MB / 1.14 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.852, allocations: 4.062 kB / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.8521, allocations: 41.48 kB / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8522, allocations: 3.344 kB / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.8522, allocations: 3.375 kB / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8522, allocations: 5.766 kB / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.8522, allocations: 0 / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.8529, allocations: 472 kB / 1.14 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.853, allocations: 120.7 kB / 1.14 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.8531, allocations: 6.031 kB / 1.14 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.8533, allocations: 21.7 kB / 1.14 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.8533, allocations: 24.55 kB / 1.14 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.8534, allocations: 5.234 kB / 1.14 GB, free: 12.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002249/0.8536, allocations: 227.7 kB / 1.14 GB, free: 12.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8536, allocations: 0 / 1.14 GB, free: 12.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003917/0.854, allocations: 88.81 kB / 1.141 GB, free: 12.75 MB / 0.698 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 () * Number of clocked 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.0003999/0.8544, allocations: 167.3 kB / 1.141 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.8549, allocations: 187.7 kB / 1.141 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8549, allocations: 4.062 kB / 1.141 GB, free: 12.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.8551, allocations: 95.22 kB / 1.141 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.8561, allocations: 162.7 kB / 1.141 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.8573, allocations: 0.7484 MB / 1.142 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.8577, allocations: 0.7825 MB / 1.143 GB, free: 11.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.858, allocations: 70.86 kB / 1.143 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.8581, allocations: 25.56 kB / 1.143 GB, free: 11.33 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/0.8581, allocations: 0 / 1.143 GB, free: 11.33 MB / 0.698 GB Notification: Performance of Templates: time 0.01173/0.8698, allocations: 5.344 MB / 1.148 GB, free: 8.707 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)