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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001431/0.001431, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.432/1.432, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 115.5 MB / 408.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004318, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4424, allocations: 77.53 MB / 0.5606 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1927/0.6352, allocations: 163 MB / 0.7197 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.638, allocations: 1.539 MB / 0.7212 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.6382, allocations: 11.94 kB / 0.7212 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.6387, allocations: 111.2 kB / 0.7213 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.6403, allocations: 0.673 MB / 0.722 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.6417, allocations: 0.5448 MB / 0.7225 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009977/0.6427, allocations: 0.9742 MB / 0.7235 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.643, allocations: 189.4 kB / 0.7237 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/0.6436, allocations: 306.7 kB / 0.724 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.6439, allocations: 231 kB / 0.7242 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.6439, allocations: 16 kB / 0.7242 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.6455, allocations: 1.005 MB / 0.7252 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.6456, allocations: 99.69 kB / 0.7253 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.6458, allocations: 180.8 kB / 0.7254 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.6464, allocations: 499 kB / 0.7259 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6464, allocations: 0 / 0.7259 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6465, allocations: 0 / 0.7259 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6465, allocations: 0 / 0.7259 GB, free: 9.527 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008651/0.6473, allocations: 0.6038 MB / 0.7265 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6474, allocations: 11.97 kB / 0.7265 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.6485, allocations: 155.4 kB / 0.7267 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.6489, allocations: 301.7 kB / 0.727 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6489, allocations: 20.44 kB / 0.727 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.649, allocations: 24 kB / 0.727 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.6494, allocations: 280.5 kB / 0.7273 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6495, allocations: 4 kB / 0.7273 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.6495, allocations: 8 kB / 0.7273 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.6495, allocations: 12 kB / 0.7273 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.6499, allocations: 207.7 kB / 0.7275 GB, free: 7.809 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.001373/0.6513, allocations: 1.217 MB / 0.7287 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.6516, allocations: 144 kB / 0.7288 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.6518, allocations: 100.8 kB / 0.7289 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.6524, allocations: 311.2 kB / 0.7292 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6525, allocations: 42.5 kB / 0.7292 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.6525, allocations: 0 / 0.7292 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000779/0.6533, allocations: 300.3 kB / 0.7295 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.6533, allocations: 55.41 kB / 0.7296 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.6536, allocations: 316.5 kB / 0.7299 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.6537, allocations: 25.7 kB / 0.7299 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.6538, allocations: 184.2 kB / 0.7301 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.6538, allocations: 59.19 kB / 0.7301 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.6539, allocations: 21.7 kB / 0.7302 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.654, allocations: 338.8 kB / 0.7305 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.6542, allocations: 71.95 kB / 0.7306 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.6544, allocations: 134.1 kB / 0.7307 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.6548, allocations: 193 kB / 0.7309 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6548, allocations: 4 kB / 0.7309 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000484/0.6553, allocations: 256.8 kB / 0.7311 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6554, allocations: 11.94 kB / 0.7311 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6554, allocations: 3.984 kB / 0.7311 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.6554, allocations: 7.938 kB / 0.7311 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.6556, allocations: 43.97 kB / 0.7312 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6556, allocations: 4 kB / 0.7312 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.6558, allocations: 35.89 kB / 0.7312 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.6559, allocations: 8 kB / 0.7312 GB, free: 3.711 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 (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.0001539/0.656, allocations: 153.6 kB / 0.7314 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.6561, allocations: 35.61 kB / 0.7314 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.6566, allocations: 224.4 kB / 0.7316 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.6566, allocations: 7.984 kB / 0.7316 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6566, allocations: 0 / 0.7316 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6566, allocations: 0 / 0.7316 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6576, allocations: 0.6951 MB / 0.7323 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.6577, allocations: 4.219 kB / 0.7323 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.6578, allocations: 39.86 kB / 0.7323 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.6578, allocations: 4 kB / 0.7324 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.6579, allocations: 7.938 kB / 0.7324 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.6579, allocations: 7.984 kB / 0.7324 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6579, allocations: 4 kB / 0.7324 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.6585, allocations: 447.6 kB / 0.7328 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.6586, allocations: 124.8 kB / 0.7329 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.6587, allocations: 3.938 kB / 0.7329 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.6589, allocations: 23.89 kB / 0.7329 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.659, allocations: 16.05 kB / 0.733 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.659, allocations: 12 kB / 0.733 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002194/0.6592, allocations: 227 kB / 0.7332 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6592, allocations: 3.938 kB / 0.7332 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003992/0.6596, allocations: 72 kB / 0.7333 GB, free: 1.48 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 (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.000413/0.66, allocations: 169.5 kB / 0.7334 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.6605, allocations: 175.9 kB / 0.7336 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6605, allocations: 4 kB / 0.7336 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.6607, allocations: 95.81 kB / 0.7337 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/0.6617, allocations: 158.5 kB / 0.7338 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6629, allocations: 0.7625 MB / 0.7346 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.6632, allocations: 0.7758 MB / 0.7353 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.6633, allocations: 27.44 kB / 0.7354 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.6633, allocations: 0 / 0.7354 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of Templates: time 0.008882/0.6722, allocations: 4.761 MB / 0.74 GB, free: 10.54 MB / 0.5762 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)