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.001258/0.001258, allocations: 111.1 kB / 17.04 MB, free: 5.355 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.001395/0.001394, allocations: 199.2 kB / 17.98 MB, free: 4.895 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.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 55.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3628, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1664/0.5292, allocations: 167.4 MB / 0.721 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.5321, allocations: 1.547 MB / 0.7226 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.5323, allocations: 11.94 kB / 0.7226 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.5328, allocations: 154.9 kB / 0.7227 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.5343, allocations: 0.7 MB / 0.7234 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.5356, allocations: 0.6126 MB / 0.724 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007391/0.5364, allocations: 0.7215 MB / 0.7247 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.5367, allocations: 232.9 kB / 0.7249 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.5374, allocations: 346.6 kB / 0.7253 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.5377, allocations: 223.1 kB / 0.7255 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.5377, allocations: 28 kB / 0.7255 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.539, allocations: 0.8689 MB / 0.7263 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.5392, allocations: 107.7 kB / 0.7264 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.5393, allocations: 175.1 kB / 0.7266 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.5403, allocations: 0.7402 MB / 0.7273 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5403, allocations: 0 / 0.7273 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5403, allocations: 0 / 0.7273 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.5403, allocations: 0 / 0.7273 GB, free: 6.145 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.0009182/0.5413, allocations: 0.6584 MB / 0.728 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5413, allocations: 11.97 kB / 0.728 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.5424, allocations: 159.3 kB / 0.7281 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.5429, allocations: 330.7 kB / 0.7285 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.5429, allocations: 16.56 kB / 0.7285 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.543, allocations: 23.94 kB / 0.7285 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.5435, allocations: 289.8 kB / 0.7288 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5435, allocations: 7.984 kB / 0.7288 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.5435, allocations: 4 kB / 0.7288 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5435, allocations: 8 kB / 0.7288 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.5439, allocations: 204.7 kB / 0.729 GB, free: 4.344 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.001363/0.5453, allocations: 1.223 MB / 0.7302 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.5456, allocations: 146.5 kB / 0.7303 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.5458, allocations: 96.8 kB / 0.7304 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/0.5463, allocations: 303.2 kB / 0.7307 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5463, allocations: 30.56 kB / 0.7307 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.5463, allocations: 4 kB / 0.7307 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007135/0.547, allocations: 299 kB / 0.731 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.5471, allocations: 55.41 kB / 0.7311 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.5474, allocations: 320.5 kB / 0.7314 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.5474, allocations: 25.7 kB / 0.7314 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5475, allocations: 188.1 kB / 0.7316 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.5476, allocations: 59.11 kB / 0.7316 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.5476, allocations: 49.7 kB / 0.7317 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5478, allocations: 342.8 kB / 0.732 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.548, allocations: 67.95 kB / 0.7321 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.5482, allocations: 127.5 kB / 0.7322 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.5485, allocations: 198.9 kB / 0.7324 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5485, allocations: 7.938 kB / 0.7324 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004187/0.5489, allocations: 253.1 kB / 0.7326 GB, free: 340 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.549, allocations: 8 kB / 0.7326 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.549, allocations: 0 / 0.7326 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.549, allocations: 4 kB / 0.7327 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.5492, allocations: 47.91 kB / 0.7327 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.5492, allocations: 4 kB / 0.7327 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.5494, allocations: 47.64 kB / 0.7327 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.5494, allocations: 8 kB / 0.7328 GB, free: 220 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.5495, allocations: 150.4 kB / 0.7329 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.5496, allocations: 27.72 kB / 0.7329 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/0.55, allocations: 234.8 kB / 0.7331 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.5501, allocations: 0 / 0.7331 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5501, allocations: 0 / 0.7331 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5501, allocations: 4 kB / 0.7332 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/0.551, allocations: 0.7107 MB / 0.7338 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.5511, allocations: 0 / 0.7338 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5512, allocations: 39.97 kB / 0.7339 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5512, allocations: 7.938 kB / 0.7339 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.5513, allocations: 4 kB / 0.7339 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5513, allocations: 3.938 kB / 0.7339 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5513, allocations: 4 kB / 0.7339 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.5519, allocations: 453 kB / 0.7343 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.552, allocations: 120.8 kB / 0.7345 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.5521, allocations: 11.98 kB / 0.7345 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5522, allocations: 11.94 kB / 0.7345 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.5523, allocations: 11.98 kB / 0.7345 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5523, allocations: 11.98 kB / 0.7345 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002054/0.5525, allocations: 231 kB / 0.7347 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5525, allocations: 0 / 0.7347 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003551/0.5529, allocations: 84 kB / 0.7348 GB, free: 13.98 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.0003363/0.5532, allocations: 173.5 kB / 0.735 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.5536, allocations: 187.8 kB / 0.7351 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5537, allocations: 0 / 0.7351 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.5538, allocations: 95.81 kB / 0.7352 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.5546, allocations: 164.1 kB / 0.7354 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.5555, allocations: 0.6263 MB / 0.736 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5558, allocations: 0.7872 MB / 0.7368 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.556, allocations: 66.92 kB / 0.7368 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.5561, allocations: 27.44 kB / 0.7369 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5561, allocations: 0 / 0.7369 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.009665/0.5657, allocations: 5.806 MB / 0.7425 GB, free: 6.102 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)