Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.001759, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5397/0.5397, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 98.36 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.92 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3694, allocations: 70.06 MB / 0.5575 GB, free: 44.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5581/0.9275, allocations: 165.1 MB / 0.7187 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.931, allocations: 1.566 MB / 0.7202 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.9316, allocations: 11.41 kB / 0.7202 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.9322, allocations: 114.4 kB / 0.7204 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.9342, allocations: 0.6654 MB / 0.721 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.9359, allocations: 0.5451 MB / 0.7215 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.937, allocations: 0.979 MB / 0.7225 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.9373, allocations: 203.8 kB / 0.7227 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.9379, allocations: 312.6 kB / 0.723 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.9382, allocations: 231.4 kB / 0.7232 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.9383, allocations: 13.31 kB / 0.7232 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.94, allocations: 1.011 MB / 0.7242 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.9401, allocations: 97.91 kB / 0.7243 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.9404, allocations: 161.2 kB / 0.7245 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.9416, allocations: 0.7689 MB / 0.7252 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9416, allocations: 0 / 0.7252 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9416, allocations: 0 / 0.7252 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9416, allocations: 4 kB / 0.7252 GB, free: 1.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001161/0.9428, allocations: 0.6413 MB / 0.7258 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.9428, allocations: 10.12 kB / 0.7258 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.9439, allocations: 155.4 kB / 0.726 GB, free: 17 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.9443, allocations: 311.3 kB / 0.7263 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.9444, allocations: 20.78 kB / 0.7263 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.9444, allocations: 26.25 kB / 0.7263 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.9449, allocations: 273.2 kB / 0.7266 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.9449, allocations: 2.344 kB / 0.7266 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.9449, allocations: 9.094 kB / 0.7266 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.9449, allocations: 10.36 kB / 0.7266 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.9453, allocations: 198.4 kB / 0.7268 GB, free: 16.68 MB / 0.5261 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.001305/0.9466, allocations: 1.218 MB / 0.728 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.9469, allocations: 134.3 kB / 0.7281 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.947, allocations: 92.64 kB / 0.7282 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.9476, allocations: 293.8 kB / 0.7285 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.9477, allocations: 45.52 kB / 0.7285 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.9477, allocations: 3.984 kB / 0.7285 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0007569/0.9484, allocations: 275.9 kB / 0.7288 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.9485, allocations: 51.41 kB / 0.7288 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.9488, allocations: 317.9 kB / 0.7292 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.9488, allocations: 29.7 kB / 0.7292 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.9489, allocations: 183.2 kB / 0.7294 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.949, allocations: 55.52 kB / 0.7294 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.949, allocations: 48.08 kB / 0.7295 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9492, allocations: 339.8 kB / 0.7298 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.9493, allocations: 64.12 kB / 0.7298 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.9495, allocations: 128 kB / 0.73 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.9499, allocations: 181.6 kB / 0.7301 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9499, allocations: 5.031 kB / 0.7301 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004508/0.9504, allocations: 240.5 kB / 0.7304 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9504, allocations: 7.156 kB / 0.7304 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.9504, allocations: 6.562 kB / 0.7304 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.9504, allocations: 0 / 0.7304 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.9506, allocations: 47.42 kB / 0.7304 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.9506, allocations: 0 / 0.7304 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.9509, allocations: 41.62 kB / 0.7305 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.9509, allocations: 8.938 kB / 0.7305 GB, free: 14.57 MB / 0.5261 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 (22): * Single equations (assignments): 22 * 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.000131/0.951, allocations: 146.2 kB / 0.7306 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.9511, allocations: 32.06 kB / 0.7306 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.9515, allocations: 223.3 kB / 0.7309 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9515, allocations: 2.438 kB / 0.7309 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9515, allocations: 0 / 0.7309 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9516, allocations: 2.812 kB / 0.7309 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009501/0.9525, allocations: 0.6886 MB / 0.7315 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9525, allocations: 5.812 kB / 0.7315 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.9527, allocations: 30.02 kB / 0.7316 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9527, allocations: 6 kB / 0.7316 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.9527, allocations: 8.422 kB / 0.7316 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9527, allocations: 8.078 kB / 0.7316 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9527, allocations: 7.094 kB / 0.7316 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/0.9571, allocations: 2.022 MB / 0.7336 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.9573, allocations: 121 kB / 0.7337 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.9574, allocations: 10.78 kB / 0.7337 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.9576, allocations: 19.61 kB / 0.7337 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.9576, allocations: 19.27 kB / 0.7337 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.9577, allocations: 6.766 kB / 0.7337 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002871/0.958, allocations: 228.7 kB / 0.734 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.958, allocations: 0 / 0.734 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006444/0.9586, allocations: 110.8 kB / 0.7341 GB, free: 12.7 MB / 0.5261 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 (15): * Single equations (assignments): 15 * 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.0004347/0.9591, allocations: 157.4 kB / 0.7342 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.9596, allocations: 169.5 kB / 0.7344 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9596, allocations: 0.5625 kB / 0.7344 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.9598, allocations: 93.66 kB / 0.7345 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.9608, allocations: 174.1 kB / 0.7346 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.962, allocations: 0.8396 MB / 0.7355 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.9624, allocations: 0.7813 MB / 0.7362 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002886/0.9627, allocations: 61.58 kB / 0.7363 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.9628, allocations: 24.62 kB / 0.7363 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.9628, allocations: 0 / 0.7363 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.0108/0.9736, allocations: 5.613 MB / 0.7418 GB, free: 10.93 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)