Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001393/0.001393, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002/0.002, allocations: 198 kB / 16.14 MB, free: 6.57 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.03 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3493, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1864/0.5357, allocations: 165.1 MB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.5385, allocations: 1.562 MB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.5388, allocations: 11.94 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.5393, allocations: 119.2 kB / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.541, allocations: 0.6653 MB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.5424, allocations: 0.5449 MB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009754/0.5434, allocations: 0.9703 MB / 1.233 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.5437, allocations: 193.2 kB / 1.233 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.5443, allocations: 310.8 kB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.5446, allocations: 235 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.5447, allocations: 15.94 kB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.5463, allocations: 1.017 MB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.5465, allocations: 103.7 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.5467, allocations: 155.2 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009663/0.5476, allocations: 0.7713 MB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5476, allocations: 0 / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.61e-07/0.5477, allocations: 0 / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5477, allocations: 0 / 1.235 GB, free: 14.48 MB / 0.9981 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.0008952/0.5486, allocations: 0.6441 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.5486, allocations: 16.03 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5499, allocations: 151.5 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.5503, allocations: 305.7 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5503, allocations: 16.44 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.5504, allocations: 24 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.5509, allocations: 287.3 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5509, allocations: 0 / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.551, allocations: 12 kB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.551, allocations: 7.984 kB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.5514, allocations: 191.8 kB / 1.237 GB, free: 12.73 MB / 0.9981 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.00133/0.5527, allocations: 1.205 MB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.553, allocations: 134.5 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.5532, allocations: 92.8 kB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/0.5539, allocations: 307.2 kB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.5539, allocations: 38.44 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.5539, allocations: 0 / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007793/0.5547, allocations: 287.2 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.5548, allocations: 55.34 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.5551, allocations: 316.5 kB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.5551, allocations: 25.7 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5553, allocations: 184.1 kB / 1.239 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.5553, allocations: 47.34 kB / 1.239 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.5554, allocations: 45.61 kB / 1.24 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5555, allocations: 342.8 kB / 1.24 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.5557, allocations: 67.95 kB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.5559, allocations: 118.2 kB / 1.24 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.5563, allocations: 189 kB / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5563, allocations: 0 / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004637/0.5567, allocations: 244.9 kB / 1.24 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5568, allocations: 8 kB / 1.24 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5568, allocations: 0 / 1.24 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5568, allocations: 4 kB / 1.24 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.557, allocations: 39.92 kB / 1.24 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.557, allocations: 7.922 kB / 1.24 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.5573, allocations: 39.67 kB / 1.241 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.5573, allocations: 8 kB / 1.241 GB, free: 8.711 MB / 0.9981 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.000144/0.5574, allocations: 158.4 kB / 1.241 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.5575, allocations: 27.62 kB / 1.241 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.558, allocations: 224.3 kB / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.558, allocations: 0 / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.558, allocations: 0 / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.558, allocations: 0 / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.559, allocations: 0.6953 MB / 1.242 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.559, allocations: 4.031 kB / 1.242 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.5592, allocations: 27.98 kB / 1.242 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5592, allocations: 11.88 kB / 1.242 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.5592, allocations: 8 kB / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5592, allocations: 0 / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5593, allocations: 4 kB / 1.242 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.5599, allocations: 434.9 kB / 1.242 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.56, allocations: 120.7 kB / 1.242 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.5601, allocations: 12 kB / 1.242 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.5603, allocations: 15.98 kB / 1.242 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.5604, allocations: 11.98 kB / 1.242 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.5604, allocations: 4 kB / 1.242 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002126/0.5606, allocations: 227 kB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5606, allocations: 0 / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003995/0.561, allocations: 91.84 kB / 1.243 GB, free: 6.512 MB / 0.9981 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.0003855/0.5614, allocations: 163.4 kB / 1.243 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.5618, allocations: 167.9 kB / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5619, allocations: 0 / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.5621, allocations: 87.83 kB / 1.243 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/0.563, allocations: 165.2 kB / 1.243 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009975/0.564, allocations: 0.6853 MB / 1.244 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5643, allocations: 0.7797 MB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.5645, allocations: 62.86 kB / 1.245 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.5646, allocations: 27.44 kB / 1.245 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.5646, allocations: 4 kB / 1.245 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of Templates: time 0.5464/1.111, allocations: 5.453 MB / 1.25 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)