Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.0007773, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008297/0.0008298, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 275.1 kB / 291.4 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9367/0.9367, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 16.36 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4267/0.5675, allocations: 152.1 MB / 0.833 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.5698, allocations: 1.469 MB / 0.8344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.57, allocations: 10.44 kB / 0.8344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.5704, allocations: 106.4 kB / 0.8345 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.5716, allocations: 0.5102 MB / 0.835 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.5728, allocations: 462.3 kB / 0.8355 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.5736, allocations: 0.8549 MB / 0.8363 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.5738, allocations: 176.9 kB / 0.8365 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.5744, allocations: 311.6 kB / 0.8368 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.5746, allocations: 230 kB / 0.837 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.5747, allocations: 12.06 kB / 0.837 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009131/0.5756, allocations: 461.1 kB / 0.8374 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.5757, allocations: 97.53 kB / 0.8375 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.5758, allocations: 88.55 kB / 0.8376 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.5762, allocations: 443.6 kB / 0.838 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5763, allocations: 4 kB / 0.8381 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5763, allocations: 0 / 0.8381 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.5763, allocations: 0 / 0.8381 GB, free: 8.832 MB / 0.5606 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.0007444/0.577, allocations: 0.6154 MB / 0.8387 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.5771, allocations: 9.438 kB / 0.8387 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.5781, allocations: 155.8 kB / 0.8388 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.5785, allocations: 303.1 kB / 0.8391 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5785, allocations: 11.16 kB / 0.8391 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.5786, allocations: 27.31 kB / 0.8391 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.579, allocations: 288.6 kB / 0.8394 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.579, allocations: 0 / 0.8394 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.5791, allocations: 9.812 kB / 0.8394 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.5791, allocations: 17.94 kB / 0.8394 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.5795, allocations: 214.7 kB / 0.8396 GB, free: 7.598 MB / 0.5606 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.00126/0.5807, allocations: 1.233 MB / 0.8408 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.581, allocations: 149.4 kB / 0.841 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.5812, allocations: 101.5 kB / 0.8411 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.5817, allocations: 316.5 kB / 0.8414 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5818, allocations: 34.55 kB / 0.8414 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.5818, allocations: 0 / 0.8414 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007051/0.5825, allocations: 309.1 kB / 0.8417 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.5825, allocations: 58.25 kB / 0.8418 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.5828, allocations: 317.9 kB / 0.8421 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.5828, allocations: 29.7 kB / 0.8421 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.583, allocations: 185.2 kB / 0.8423 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.583, allocations: 62.62 kB / 0.8423 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.583, allocations: 4 kB / 0.8423 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5832, allocations: 345.3 kB / 0.8427 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.5833, allocations: 72.98 kB / 0.8427 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.5835, allocations: 134.3 kB / 0.8429 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5837, allocations: 95.14 kB / 0.843 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5837, allocations: 4 kB / 0.843 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004251/0.5842, allocations: 261.8 kB / 0.8432 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5842, allocations: 5.875 kB / 0.8432 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5842, allocations: 1.75 kB / 0.8432 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5842, allocations: 7.281 kB / 0.8432 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.5844, allocations: 54.47 kB / 0.8433 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.5844, allocations: 0 / 0.8433 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.5846, allocations: 28.11 kB / 0.8433 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.5847, allocations: 16.36 kB / 0.8433 GB, free: 4.605 MB / 0.5606 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.0001382/0.5848, allocations: 164.7 kB / 0.8435 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.5849, allocations: 28.75 kB / 0.8435 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.5853, allocations: 238.1 kB / 0.8437 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.5853, allocations: 0 / 0.8437 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5854, allocations: 6.375 kB / 0.8437 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5854, allocations: 4 kB / 0.8437 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.5863, allocations: 0.7129 MB / 0.8444 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5863, allocations: 3.031 kB / 0.8444 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.5865, allocations: 47.31 kB / 0.8445 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.5865, allocations: 5.062 kB / 0.8445 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.5865, allocations: 7.047 kB / 0.8445 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5865, allocations: 6.5 kB / 0.8445 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5865, allocations: 2.625 kB / 0.8445 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.5871, allocations: 464.7 kB / 0.845 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5873, allocations: 126.8 kB / 0.8451 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.5873, allocations: 2.938 kB / 0.8451 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.5875, allocations: 22.78 kB / 0.8451 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.5875, allocations: 12.64 kB / 0.8451 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5876, allocations: 9.156 kB / 0.8451 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000197/0.5878, allocations: 231.9 kB / 0.8453 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5878, allocations: 0 / 0.8453 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003713/0.5881, allocations: 83.81 kB / 0.8454 GB, free: 3.031 MB / 0.5606 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.0003402/0.5885, allocations: 170 kB / 0.8456 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003907/0.5889, allocations: 187.3 kB / 0.8458 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5889, allocations: 0 / 0.8458 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.5891, allocations: 101.7 kB / 0.8459 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.5899, allocations: 153.1 kB / 0.846 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.5908, allocations: 0.7557 MB / 0.8467 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5911, allocations: 0.7816 MB / 0.8475 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.5913, allocations: 67.3 kB / 0.8476 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.5914, allocations: 23.88 kB / 0.8476 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5914, allocations: 0 / 0.8476 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.008788/0.6002, allocations: 5.348 MB / 0.8528 GB, free: 14.71 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)