Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001813/0.001814, allocations: 103.5 kB / 15.98 MB, free: 6.332 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.00189/0.00189, allocations: 195.6 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7928/0.7928, allocations: 122.9 MB / 413.6 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4175, allocations: 77.92 MB / 0.5667 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.2075/0.6251, allocations: 165.1 MB / 0.728 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.6276, allocations: 1.538 MB / 0.7295 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.6279, allocations: 15.94 kB / 0.7295 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.6284, allocations: 123.2 kB / 0.7296 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.6299, allocations: 0.6653 MB / 0.7302 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.6312, allocations: 0.5637 MB / 0.7308 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.6319, allocations: 0.7137 MB / 0.7315 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.6323, allocations: 233 kB / 0.7317 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.6329, allocations: 350.6 kB / 0.732 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.6332, allocations: 239 kB / 0.7323 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.6332, allocations: 28 kB / 0.7323 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.6346, allocations: 0.8922 MB / 0.7332 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.6347, allocations: 115.7 kB / 0.7333 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.6349, allocations: 171.1 kB / 0.7334 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.6359, allocations: 0.783 MB / 0.7342 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6359, allocations: 0 / 0.7342 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6359, allocations: 0 / 0.7342 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6359, allocations: 0 / 0.7342 GB, free: 14.91 MB / 0.5762 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.0009365/0.6369, allocations: 0.6738 MB / 0.7349 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6369, allocations: 8.625 kB / 0.7349 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.6381, allocations: 163.4 kB / 0.735 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.6385, allocations: 298.7 kB / 0.7353 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6385, allocations: 24.5 kB / 0.7353 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.6386, allocations: 27.92 kB / 0.7354 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.6391, allocations: 285.8 kB / 0.7356 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.6391, allocations: 0 / 0.7356 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.6391, allocations: 12 kB / 0.7356 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6391, allocations: 4 kB / 0.7357 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.6396, allocations: 204.9 kB / 0.7358 GB, free: 13.12 MB / 0.5762 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.001399/0.641, allocations: 1.23 MB / 0.737 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.6413, allocations: 142.5 kB / 0.7372 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.6414, allocations: 96.8 kB / 0.7373 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.6421, allocations: 311.2 kB / 0.7376 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.6421, allocations: 34.56 kB / 0.7376 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.6421, allocations: 0 / 0.7376 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007881/0.6429, allocations: 295.6 kB / 0.7379 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.6429, allocations: 55.31 kB / 0.7379 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.6432, allocations: 320.5 kB / 0.7382 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.6433, allocations: 29.7 kB / 0.7383 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6434, allocations: 184.2 kB / 0.7385 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.6435, allocations: 59.11 kB / 0.7385 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.6435, allocations: 45.7 kB / 0.7386 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6437, allocations: 342.8 kB / 0.7389 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.6438, allocations: 67.95 kB / 0.7389 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.6441, allocations: 123.3 kB / 0.7391 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.6444, allocations: 200.9 kB / 0.7393 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6445, allocations: 3.938 kB / 0.7393 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004702/0.6449, allocations: 256.5 kB / 0.7395 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.645, allocations: 4 kB / 0.7395 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.645, allocations: 7.938 kB / 0.7395 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.645, allocations: 0 / 0.7395 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.6452, allocations: 51.91 kB / 0.7396 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6452, allocations: 0 / 0.7396 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.6455, allocations: 39.67 kB / 0.7396 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.6455, allocations: 12.09 kB / 0.7396 GB, free: 8.996 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.6457, allocations: 157.7 kB / 0.7398 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.6458, allocations: 31.62 kB / 0.7398 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.6463, allocations: 228.7 kB / 0.74 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6463, allocations: 0 / 0.74 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6463, allocations: 0 / 0.74 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.6463, allocations: 4 kB / 0.74 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.6475, allocations: 0.7109 MB / 0.7407 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.6475, allocations: 4 kB / 0.7407 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.6477, allocations: 39.91 kB / 0.7407 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.6477, allocations: 7.984 kB / 0.7408 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.6478, allocations: 4 kB / 0.7408 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.6478, allocations: 7.938 kB / 0.7408 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6478, allocations: 0 / 0.7408 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.6485, allocations: 459 kB / 0.7412 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.6487, allocations: 124.7 kB / 0.7413 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.6487, allocations: 4 kB / 0.7413 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.6489, allocations: 23.86 kB / 0.7414 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.649, allocations: 15.98 kB / 0.7414 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.649, allocations: 4 kB / 0.7414 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000264/0.6493, allocations: 235.1 kB / 0.7416 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6493, allocations: 0 / 0.7416 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000447/0.6497, allocations: 79.91 kB / 0.7417 GB, free: 6.742 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004864/0.6502, allocations: 164.7 kB / 0.7418 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.6507, allocations: 187.6 kB / 0.742 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6507, allocations: 4.094 kB / 0.742 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.6509, allocations: 95.7 kB / 0.7421 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009/0.6518, allocations: 184.5 kB / 0.7423 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.653, allocations: 0.7118 MB / 0.743 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.6535, allocations: 0.7795 MB / 0.7437 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002752/0.6538, allocations: 70.92 kB / 0.7438 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.6539, allocations: 27.44 kB / 0.7438 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.6539, allocations: 0 / 0.7438 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of Templates: time 0.2653/0.9192, allocations: 5.724 MB / 0.7494 GB, free: 169.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)