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.00821/0.00821, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001931/0.001931, allocations: 187.2 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.6107/0.6107, allocations: 95.48 MB / 365.4 MB, free: 9.684 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.001436/0.001436, allocations: 75.91 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1687, allocations: 69.09 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.726/0.8947, allocations: 185.1 MB / 0.7518 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002983/0.8978, allocations: 1.279 MB / 0.7531 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.8982, allocations: 7.938 kB / 0.7531 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009364/0.8992, allocations: 238.5 kB / 0.7533 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.901, allocations: 0.6217 MB / 0.7539 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.9051, allocations: 1.35 MB / 0.7553 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.9068, allocations: 1.103 MB / 0.7563 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.9073, allocations: 353.6 kB / 0.7567 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.9084, allocations: 466.3 kB / 0.7571 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.9091, allocations: 378.5 kB / 0.7575 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.9092, allocations: 48 kB / 0.7575 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.913, allocations: 1.524 MB / 0.759 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.9133, allocations: 199.4 kB / 0.7592 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.9136, allocations: 298.7 kB / 0.7595 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.9164, allocations: 1.515 MB / 0.761 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9164, allocations: 0 / 0.761 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9164, allocations: 0 / 0.761 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.9164, allocations: 0 / 0.761 GB, free: 11.9 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.002149/0.9186, allocations: 0.974 MB / 0.7619 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.9186, allocations: 11.98 kB / 0.7619 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.919, allocations: 67.33 kB / 0.762 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.9199, allocations: 418.3 kB / 0.7624 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.92, allocations: 29 kB / 0.7624 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/0.92, allocations: 36 kB / 0.7625 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.9211, allocations: 0.4988 MB / 0.7629 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.9211, allocations: 4 kB / 0.7629 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.9212, allocations: 16 kB / 0.763 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.9212, allocations: 8 kB / 0.763 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009356/0.9222, allocations: 471.6 kB / 0.7634 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.9256, allocations: 2.284 MB / 0.7656 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.926, allocations: 150.4 kB / 0.7658 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.9262, allocations: 112.8 kB / 0.7659 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/0.927, allocations: 489.4 kB / 0.7664 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.9271, allocations: 34.56 kB / 0.7664 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.023e-06/0.9271, allocations: 0 / 0.7664 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.00109/0.9282, allocations: 411 kB / 0.7668 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.9282, allocations: 59.41 kB / 0.7668 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.9289, allocations: 0.5097 MB / 0.7673 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.9289, allocations: 33.64 kB / 0.7674 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.9291, allocations: 248 kB / 0.7676 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.9292, allocations: 90.73 kB / 0.7677 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.9294, allocations: 69.69 kB / 0.7678 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9295, allocations: 362.7 kB / 0.7681 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.9298, allocations: 135.9 kB / 0.7682 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.9302, allocations: 206.7 kB / 0.7684 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.9309, allocations: 356.8 kB / 0.7688 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.931, allocations: 3.984 kB / 0.7688 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009448/0.9319, allocations: 447.5 kB / 0.7692 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.932, allocations: 7.938 kB / 0.7692 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.932, allocations: 7.562 kB / 0.7692 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.932, allocations: 11.94 kB / 0.7692 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.9324, allocations: 79.83 kB / 0.7693 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.9324, allocations: 4 kB / 0.7693 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.9328, allocations: 55.42 kB / 0.7694 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.9329, allocations: 12 kB / 0.7694 GB, free: 2.707 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.9331, allocations: 181.7 kB / 0.7696 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.9332, allocations: 47.44 kB / 0.7696 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.9341, allocations: 424.1 kB / 0.77 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.9341, allocations: 7.938 kB / 0.77 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9341, allocations: 0 / 0.77 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.9341, allocations: 3.984 kB / 0.77 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.9359, allocations: 0.8815 MB / 0.7709 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.9359, allocations: 7.984 kB / 0.7709 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.9362, allocations: 35.98 kB / 0.7709 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.9362, allocations: 8.188 kB / 0.7709 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.9362, allocations: 4 kB / 0.7709 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.9362, allocations: 3.938 kB / 0.7709 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9363, allocations: 4 kB / 0.7709 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.9373, allocations: 0.5065 MB / 0.7714 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.9377, allocations: 161.3 kB / 0.7716 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.9378, allocations: 23.77 kB / 0.7716 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.9383, allocations: 23.92 kB / 0.7716 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.9384, allocations: 23.97 kB / 0.7717 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.9384, allocations: 15.98 kB / 0.7717 GB, free: 216 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007489/0.9392, allocations: 0.491 MB / 0.7721 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9392, allocations: 0 / 0.7721 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001339/0.9405, allocations: 315.6 kB / 0.7724 GB, free: 15.41 MB / 0.5919 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 (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.001573/0.9421, allocations: 419 kB / 0.7728 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000744/0.9429, allocations: 288 kB / 0.7731 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.9429, allocations: 0 / 0.7731 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.9432, allocations: 103.8 kB / 0.7732 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.9447, allocations: 325.7 kB / 0.7735 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.9465, allocations: 0.8865 MB / 0.7744 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.947, allocations: 0.8543 MB / 0.7752 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005022/0.9475, allocations: 104.6 kB / 0.7753 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.9477, allocations: 43.42 kB / 0.7754 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.9477, allocations: 4 kB / 0.7754 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.02915/0.9768, allocations: 14.9 MB / 0.7899 GB, free: 13.55 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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)