Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009174/0.0009173, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0009569/0.000957, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9584/0.9584, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 12 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1753, allocations: 83.42 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3829/0.5583, allocations: 140.2 MB / 0.7342 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.561, allocations: 1.566 MB / 0.7357 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.5612, allocations: 13.81 kB / 0.7357 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.5618, allocations: 167.4 kB / 0.7359 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.5631, allocations: 0.5268 MB / 0.7364 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.5645, allocations: 484.1 kB / 0.7369 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.5651, allocations: 429.4 kB / 0.7373 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.5654, allocations: 185.6 kB / 0.7374 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008092/0.5662, allocations: 337.7 kB / 0.7378 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.5665, allocations: 149.8 kB / 0.7379 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.5665, allocations: 12.38 kB / 0.7379 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.5676, allocations: 425.3 kB / 0.7383 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.5677, allocations: 94.58 kB / 0.7384 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.5678, allocations: 82.14 kB / 0.7385 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.5685, allocations: 414.1 kB / 0.7389 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5685, allocations: 0 / 0.7389 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5685, allocations: 0 / 0.7389 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5685, allocations: 0 / 0.7389 GB, free: 9.742 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.0009682/0.5695, allocations: 0.5961 MB / 0.7395 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5695, allocations: 8.641 kB / 0.7395 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.5707, allocations: 159.5 kB / 0.7396 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.5711, allocations: 299.9 kB / 0.7399 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5712, allocations: 13.56 kB / 0.7399 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.5712, allocations: 28.78 kB / 0.74 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.5718, allocations: 275.9 kB / 0.7402 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5718, allocations: 0 / 0.7402 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.5718, allocations: 8 kB / 0.7402 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5718, allocations: 4 kB / 0.7402 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.5723, allocations: 210.3 kB / 0.7404 GB, free: 8.238 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.001423/0.5737, allocations: 1.22 MB / 0.7416 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.574, allocations: 136.4 kB / 0.7418 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.5744, allocations: 137.3 kB / 0.7419 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.5745, allocations: 35.11 kB / 0.7419 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.5745, allocations: 0 / 0.7419 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007835/0.5753, allocations: 298.8 kB / 0.7422 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.5753, allocations: 52.2 kB / 0.7423 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.5756, allocations: 316.3 kB / 0.7426 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.5757, allocations: 25.7 kB / 0.7426 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.5758, allocations: 178.8 kB / 0.7428 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.5759, allocations: 59.72 kB / 0.7428 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.5759, allocations: 4 kB / 0.7428 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.576, allocations: 344.3 kB / 0.7431 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.5762, allocations: 64.38 kB / 0.7432 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.5764, allocations: 131.3 kB / 0.7433 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.5766, allocations: 90.23 kB / 0.7434 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5766, allocations: 0 / 0.7434 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004633/0.5771, allocations: 250.5 kB / 0.7437 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5771, allocations: 4 kB / 0.7437 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5771, allocations: 7.938 kB / 0.7437 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5772, allocations: 3.984 kB / 0.7437 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5774, allocations: 49.47 kB / 0.7437 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5774, allocations: 4.844 kB / 0.7437 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.5776, allocations: 43.75 kB / 0.7438 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.5777, allocations: 8.891 kB / 0.7438 GB, free: 4.965 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.5778, allocations: 154.9 kB / 0.7439 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.5779, allocations: 27.72 kB / 0.7439 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.5783, allocations: 229.3 kB / 0.7442 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5784, allocations: 1.406 kB / 0.7442 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5784, allocations: 0 / 0.7442 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5784, allocations: 8.516 kB / 0.7442 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.5794, allocations: 0.6882 MB / 0.7448 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5794, allocations: 8.438 kB / 0.7449 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5796, allocations: 29.72 kB / 0.7449 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5796, allocations: 4 kB / 0.7449 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5797, allocations: 9.562 kB / 0.7449 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5797, allocations: 4.922 kB / 0.7449 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5797, allocations: 7.938 kB / 0.7449 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.5804, allocations: 0.513 MB / 0.7454 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5805, allocations: 127.1 kB / 0.7455 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.5806, allocations: 9.219 kB / 0.7455 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.5808, allocations: 23.11 kB / 0.7456 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.5808, allocations: 16.48 kB / 0.7456 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.5809, allocations: 8 kB / 0.7456 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002302/0.5811, allocations: 222.3 kB / 0.7458 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5811, allocations: 0 / 0.7458 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000398/0.5815, allocations: 77.12 kB / 0.7459 GB, free: 2.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003432/0.5818, allocations: 171.1 kB / 0.746 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.5823, allocations: 174.5 kB / 0.7462 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5823, allocations: 4 kB / 0.7462 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.5825, allocations: 93.12 kB / 0.7463 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.5833, allocations: 160.1 kB / 0.7464 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009676/0.5843, allocations: 0.704 MB / 0.7471 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.5846, allocations: 0.7834 MB / 0.7479 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.5849, allocations: 67.53 kB / 0.748 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.5849, allocations: 29.27 kB / 0.748 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.5849, allocations: 0 / 0.748 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of Templates: time 0.009526/0.5945, allocations: 5.292 MB / 0.7532 GB, free: 12.07 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: