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.0008431/0.0008431, allocations: 93.03 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009415/0.0009416, allocations: 182.2 kB / 16.91 MB, free: 6.914 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.629/1.629, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8974/0.8974, allocations: 126.9 MB / 418.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 12.28 kB / 0.498 GB, free: 9.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5914, allocations: 80.24 MB / 0.5763 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2279/0.8194, allocations: 163 MB / 0.7355 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.8224, allocations: 1.541 MB / 0.737 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.8227, allocations: 7.938 kB / 0.737 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.8231, allocations: 123.2 kB / 0.7371 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.825, allocations: 0.6575 MB / 0.7378 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.8267, allocations: 0.5484 MB / 0.7383 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.8279, allocations: 0.9391 MB / 0.7392 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.8283, allocations: 189.5 kB / 0.7394 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.8294, allocations: 442.3 kB / 0.7398 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.8297, allocations: 219 kB / 0.74 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.8298, allocations: 16 kB / 0.74 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.8316, allocations: 1.013 MB / 0.741 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.8318, allocations: 95.69 kB / 0.7411 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.832, allocations: 180.9 kB / 0.7413 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.8334, allocations: 0.7556 MB / 0.742 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8334, allocations: 0 / 0.742 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8334, allocations: 0 / 0.742 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8334, allocations: 3.938 kB / 0.742 GB, free: 13.37 MB / 0.5762 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.00102/0.8344, allocations: 0.5999 MB / 0.7426 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8345, allocations: 8.031 kB / 0.7426 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.8357, allocations: 151.4 kB / 0.7428 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.8361, allocations: 309.7 kB / 0.7431 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.8363, allocations: 16.44 kB / 0.7431 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.8363, allocations: 27.94 kB / 0.7431 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.8369, allocations: 287.4 kB / 0.7434 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8369, allocations: 0 / 0.7434 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.837, allocations: 8 kB / 0.7434 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.837, allocations: 8 kB / 0.7434 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.8375, allocations: 207.8 kB / 0.7436 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.8391, allocations: 1.213 MB / 0.7448 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.8395, allocations: 142.4 kB / 0.7449 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.8397, allocations: 104.7 kB / 0.745 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/0.8404, allocations: 315.2 kB / 0.7453 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.8405, allocations: 30.56 kB / 0.7454 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.8405, allocations: 3.938 kB / 0.7454 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008841/0.8414, allocations: 304.1 kB / 0.7457 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.8414, allocations: 51.41 kB / 0.7457 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.8418, allocations: 312.5 kB / 0.746 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.8419, allocations: 29.7 kB / 0.746 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.8421, allocations: 192 kB / 0.7462 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.8422, allocations: 51.2 kB / 0.7463 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.8422, allocations: 21.72 kB / 0.7463 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.8424, allocations: 342.8 kB / 0.7466 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.8426, allocations: 67.95 kB / 0.7467 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.8429, allocations: 137 kB / 0.7468 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.8433, allocations: 201 kB / 0.747 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8434, allocations: 0 / 0.747 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005488/0.8439, allocations: 252.3 kB / 0.7472 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.8439, allocations: 8 kB / 0.7472 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.844, allocations: 144 / 0.7472 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.844, allocations: 4 kB / 0.7472 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.8442, allocations: 47.91 kB / 0.7473 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.8442, allocations: 3.984 kB / 0.7473 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.8445, allocations: 39.8 kB / 0.7473 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.8446, allocations: 8 kB / 0.7473 GB, free: 7.566 MB / 0.5762 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.0001968/0.8448, allocations: 153.6 kB / 0.7475 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.8448, allocations: 31.62 kB / 0.7475 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.8454, allocations: 224.4 kB / 0.7477 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.8454, allocations: 7.938 kB / 0.7477 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8454, allocations: 0 / 0.7477 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8454, allocations: 0 / 0.7477 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.8467, allocations: 0.6952 MB / 0.7484 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8467, allocations: 4.219 kB / 0.7484 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.8469, allocations: 39.86 kB / 0.7485 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8469, allocations: 4 kB / 0.7485 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.8469, allocations: 4 kB / 0.7485 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.8469, allocations: 0 / 0.7485 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.8469, allocations: 11.88 kB / 0.7485 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/0.8477, allocations: 448.1 kB / 0.7489 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.8479, allocations: 132.6 kB / 0.749 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.8479, allocations: 8 kB / 0.749 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.8481, allocations: 12.05 kB / 0.7491 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.8482, allocations: 23.92 kB / 0.7491 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.8482, allocations: 12 kB / 0.7491 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002625/0.8485, allocations: 223 kB / 0.7493 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8485, allocations: 0 / 0.7493 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004193/0.8489, allocations: 79.91 kB / 0.7494 GB, free: 5.332 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 (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.000478/0.8494, allocations: 166.8 kB / 0.7495 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.8499, allocations: 183.9 kB / 0.7497 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8499, allocations: 0 / 0.7497 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.8501, allocations: 87.83 kB / 0.7498 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.8512, allocations: 169.5 kB / 0.75 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.8524, allocations: 0.7219 MB / 0.7507 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.8528, allocations: 0.7758 MB / 0.7514 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.8531, allocations: 71.14 kB / 0.7515 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.8532, allocations: 27.44 kB / 0.7515 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.8532, allocations: 3.938 kB / 0.7515 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of Templates: time 0.01213/0.8653, allocations: 5.428 MB / 0.7568 GB, free: 13.74 MB / 0.5919 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)