Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001011/0.001016, allocations: 98.77 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.001028/0.001028, 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 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5516/0.5516, allocations: 95.57 MB / 365.9 MB, free: 10.39 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006685/0.0006687, allocations: 19.91 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.31, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4406/0.7507, allocations: 148.5 MB / 0.65 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.7541, allocations: 1.747 MB / 0.6517 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.7546, allocations: 16.33 kB / 0.6517 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.7553, allocations: 182.8 kB / 0.6519 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.7568, allocations: 488.3 kB / 0.6523 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.7592, allocations: 0.8337 MB / 0.6531 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.7603, allocations: 0.6355 MB / 0.6538 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.7607, allocations: 286.9 kB / 0.654 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008448/0.7616, allocations: 394.7 kB / 0.6544 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.7621, allocations: 259.3 kB / 0.6547 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.7621, allocations: 22.53 kB / 0.6547 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.7642, allocations: 0.8686 MB / 0.6555 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.7644, allocations: 162.1 kB / 0.6557 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.7647, allocations: 127.6 kB / 0.6558 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.766, allocations: 0.8496 MB / 0.6566 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.766, allocations: 0 / 0.6566 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.766, allocations: 0 / 0.6566 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.766, allocations: 0 / 0.6566 GB, free: 17.43 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.00139/0.7674, allocations: 0.8329 MB / 0.6575 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7675, allocations: 22.78 kB / 0.6575 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.7677, allocations: 59.81 kB / 0.6575 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.7683, allocations: 400.8 kB / 0.6579 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.7683, allocations: 27.62 kB / 0.6579 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.7684, allocations: 34.31 kB / 0.658 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.7691, allocations: 0.4939 MB / 0.6585 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.7692, allocations: 2.844 kB / 0.6585 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.7692, allocations: 19.62 kB / 0.6585 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.7692, allocations: 10.66 kB / 0.6585 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/0.77, allocations: 478.3 kB / 0.6589 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.7728, allocations: 2.279 MB / 0.6612 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.7731, allocations: 154.8 kB / 0.6613 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.7737, allocations: 496.2 kB / 0.6618 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.7737, allocations: 35.56 kB / 0.6618 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 2.034e-06/0.7737, allocations: 0 / 0.6618 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.0008945/0.7746, allocations: 423.3 kB / 0.6622 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.7747, allocations: 60.69 kB / 0.6623 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.7753, allocations: 0.5089 MB / 0.6628 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.7753, allocations: 31.77 kB / 0.6628 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.7755, allocations: 248.5 kB / 0.6631 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.7755, allocations: 89.91 kB / 0.6631 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.7756, allocations: 6.562 kB / 0.6631 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7757, allocations: 357.9 kB / 0.6635 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.776, allocations: 137.7 kB / 0.6636 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.7763, allocations: 214.5 kB / 0.6638 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.7766, allocations: 165.7 kB / 0.664 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7766, allocations: 3.938 kB / 0.664 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00072/0.7773, allocations: 452.6 kB / 0.6644 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.7773, allocations: 5.5 kB / 0.6644 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.7773, allocations: 9.797 kB / 0.6644 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.7774, allocations: 5.875 kB / 0.6644 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.7777, allocations: 86.03 kB / 0.6645 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.7778, allocations: 4.875 kB / 0.6645 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.7781, allocations: 67.14 kB / 0.6646 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.7782, allocations: 17.08 kB / 0.6646 GB, free: 13.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 41 * 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.000185/0.7784, allocations: 192.6 kB / 0.6648 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.7785, allocations: 48.19 kB / 0.6648 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/0.7792, allocations: 437.7 kB / 0.6652 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7792, allocations: 3.188 kB / 0.6653 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7792, allocations: 0 / 0.6653 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7792, allocations: 0 / 0.6653 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.7804, allocations: 0.8978 MB / 0.6661 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7805, allocations: 2.656 kB / 0.6661 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.7807, allocations: 41.09 kB / 0.6662 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.7807, allocations: 2.688 kB / 0.6662 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.7808, allocations: 5.906 kB / 0.6662 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.7808, allocations: 13.62 kB / 0.6662 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7808, allocations: 6.641 kB / 0.6662 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.7816, allocations: 0.5951 MB / 0.6668 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.7819, allocations: 213.1 kB / 0.667 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.782, allocations: 6.094 kB / 0.667 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.7823, allocations: 23.19 kB / 0.667 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.7824, allocations: 23.08 kB / 0.667 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.7824, allocations: 17.34 kB / 0.667 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000497/0.783, allocations: 0.4937 MB / 0.6675 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.783, allocations: 0 / 0.6675 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009027/0.7839, allocations: 309.5 kB / 0.6678 GB, free: 12.28 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0009141/0.7848, allocations: 411.5 kB / 0.6682 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006185/0.7854, allocations: 293.5 kB / 0.6685 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7854, allocations: 0 / 0.6685 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.7856, allocations: 113 kB / 0.6686 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.787, allocations: 280.8 kB / 0.6689 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.7887, allocations: 1.069 MB / 0.6699 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.7891, allocations: 0.8615 MB / 0.6708 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004764/0.7896, allocations: 104.9 kB / 0.6709 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.7897, allocations: 46.88 kB / 0.6709 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.7897, allocations: 0 / 0.6709 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.02275/0.8125, allocations: 13.82 MB / 0.6844 GB, free: 4.863 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: