Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007606/0.0007606, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008035/0.0008036, allocations: 172.7 kB / 15.95 MB, free: 208 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.485/1.485, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005235/0.0005236, allocations: 14.28 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2725, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7203/0.9928, allocations: 152 MB / 0.9357 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.9954, allocations: 1.479 MB / 0.9372 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.9958, allocations: 10.97 kB / 0.9372 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.9962, allocations: 107.1 kB / 0.9373 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.998, allocations: 0.5051 MB / 0.9378 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.9995, allocations: 451.3 kB / 0.9382 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00103/1.001, allocations: 0.8311 MB / 0.939 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/1.001, allocations: 174.7 kB / 0.9392 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/1.001, allocations: 299.6 kB / 0.9395 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/1.002, allocations: 221.9 kB / 0.9397 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/1.002, allocations: 12.81 kB / 0.9397 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/1.003, allocations: 471.9 kB / 0.9402 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/1.003, allocations: 92.92 kB / 0.9403 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/1.003, allocations: 82.02 kB / 0.9403 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007006/1.004, allocations: 440.6 kB / 0.9408 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.004, allocations: 0 / 0.9408 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/1.004, allocations: 0.875 kB / 0.9408 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.212e-06/1.004, allocations: 0 / 0.9408 GB, free: 5.293 MB / 0.7169 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.001232/1.005, allocations: 0.5983 MB / 0.9413 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.005, allocations: 9.562 kB / 0.9413 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/1.006, allocations: 154.9 kB / 0.9415 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/1.007, allocations: 304.3 kB / 0.9418 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/1.007, allocations: 16.41 kB / 0.9418 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/1.007, allocations: 25.12 kB / 0.9418 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/1.008, allocations: 276.8 kB / 0.9421 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.008, allocations: 0 / 0.9421 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/1.008, allocations: 13.33 kB / 0.9421 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/1.008, allocations: 10.28 kB / 0.9421 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/1.008, allocations: 206.1 kB / 0.9423 GB, free: 20.48 MB / 0.7325 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.001473/1.01, allocations: 1.218 MB / 0.9435 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/1.01, allocations: 144.4 kB / 0.9436 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/1.01, allocations: 100.1 kB / 0.9437 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/1.011, allocations: 315.8 kB / 0.944 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/1.011, allocations: 31.38 kB / 0.9441 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/1.011, allocations: 2.562 kB / 0.9441 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007893/1.012, allocations: 293.3 kB / 0.9443 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.012, allocations: 53.03 kB / 0.9444 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/1.012, allocations: 317.8 kB / 0.9447 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.012, allocations: 27.17 kB / 0.9447 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/1.012, allocations: 181.1 kB / 0.9449 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/1.012, allocations: 60.11 kB / 0.945 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.012, allocations: 4.469 kB / 0.945 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.013, allocations: 340.8 kB / 0.9453 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.013, allocations: 72.02 kB / 0.9454 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/1.013, allocations: 127.7 kB / 0.9455 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/1.013, allocations: 86.05 kB / 0.9456 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.013, allocations: 4.75 kB / 0.9456 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005296/1.014, allocations: 244.8 kB / 0.9458 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.014, allocations: 5.469 kB / 0.9458 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.014, allocations: 1.562 kB / 0.9458 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.014, allocations: 6.594 kB / 0.9458 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/1.014, allocations: 47.72 kB / 0.9459 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.014, allocations: 4.641 kB / 0.9459 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/1.014, allocations: 32.3 kB / 0.9459 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.014, allocations: 7.688 kB / 0.9459 GB, free: 18.45 MB / 0.7325 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.0001642/1.014, allocations: 159.8 kB / 0.946 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/1.015, allocations: 32.8 kB / 0.9461 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/1.015, allocations: 224.7 kB / 0.9463 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.015, allocations: 2.312 kB / 0.9463 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.015, allocations: 4.5 kB / 0.9463 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.015, allocations: 3.688 kB / 0.9463 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.016, allocations: 0.6906 MB / 0.947 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.016, allocations: 3.188 kB / 0.947 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/1.016, allocations: 36.44 kB / 0.947 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.016, allocations: 3 kB / 0.947 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/1.016, allocations: 7.188 kB / 0.947 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.017, allocations: 10.17 kB / 0.947 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.017, allocations: 8.375 kB / 0.947 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/1.017, allocations: 449.8 kB / 0.9475 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.017, allocations: 124.9 kB / 0.9476 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/1.017, allocations: 5.312 kB / 0.9476 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.018, allocations: 19.86 kB / 0.9476 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/1.018, allocations: 20.16 kB / 0.9476 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/1.018, allocations: 8.875 kB / 0.9476 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002313/1.018, allocations: 226 kB / 0.9479 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.018, allocations: 1.125 kB / 0.9479 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005007/1.018, allocations: 75.91 kB / 0.9479 GB, free: 17.47 MB / 0.7325 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.0004408/1.019, allocations: 166.3 kB / 0.9481 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004343/1.019, allocations: 180.8 kB / 0.9483 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.019, allocations: 1.094 kB / 0.9483 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/1.02, allocations: 95.95 kB / 0.9484 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/1.02, allocations: 157.2 kB / 0.9485 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/1.021, allocations: 0.7075 MB / 0.9492 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/1.022, allocations: 0.7806 MB / 0.95 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002307/1.022, allocations: 70.97 kB / 0.95 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/1.022, allocations: 27.66 kB / 0.9501 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.41e-07/1.022, allocations: 0 / 0.9501 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.01081/1.033, allocations: 5.268 MB / 0.9552 GB, free: 15.86 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: