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.001392/0.001392, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001388/0.001388, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.605/1.605, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.798/1.798, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001389/0.001389, allocations: 72.52 kB / 0.671 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8721/1.185, allocations: 165.1 MB / 0.9441 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003341/1.188, allocations: 1.543 MB / 0.9456 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004399/1.189, allocations: 11.16 kB / 0.9456 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008313/1.19, allocations: 125.9 kB / 0.9457 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/1.193, allocations: 0.6579 MB / 0.9464 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/1.195, allocations: 0.5549 MB / 0.9469 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001104/1.196, allocations: 0.7004 MB / 0.9476 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/1.197, allocations: 232.6 kB / 0.9478 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/1.198, allocations: 333.7 kB / 0.9481 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/1.198, allocations: 241.4 kB / 0.9484 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/1.198, allocations: 22.25 kB / 0.9484 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/1.2, allocations: 0.9038 MB / 0.9493 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/1.2, allocations: 102.2 kB / 0.9494 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/1.2, allocations: 170.4 kB / 0.9495 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/1.202, allocations: 0.7763 MB / 0.9503 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.202, allocations: 0 / 0.9503 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.587e-06/1.202, allocations: 0 / 0.9503 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.465e-06/1.202, allocations: 1.203 kB / 0.9503 GB, free: 5.723 MB / 0.7325 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.001472/1.203, allocations: 0.6512 MB / 0.9509 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.203, allocations: 10 kB / 0.9509 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/1.205, allocations: 153.1 kB / 0.9511 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/1.205, allocations: 305.8 kB / 0.9514 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/1.205, allocations: 17.77 kB / 0.9514 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/1.205, allocations: 22.84 kB / 0.9514 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/1.206, allocations: 277 kB / 0.9517 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.206, allocations: 3.938 kB / 0.9517 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/1.206, allocations: 10.38 kB / 0.9517 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/1.206, allocations: 8.656 kB / 0.9517 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/1.207, allocations: 191.5 kB / 0.9519 GB, free: 20.91 MB / 0.7481 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.001731/1.208, allocations: 1.217 MB / 0.9531 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/1.209, allocations: 134.3 kB / 0.9532 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/1.209, allocations: 94.78 kB / 0.9533 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/1.21, allocations: 301.2 kB / 0.9536 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.21, allocations: 36.41 kB / 0.9536 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 2.494e-06/1.21, allocations: 4 kB / 0.9536 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0008991/1.211, allocations: 281.5 kB / 0.9539 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/1.211, allocations: 53.34 kB / 0.9539 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/1.211, allocations: 313.7 kB / 0.9542 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/1.211, allocations: 33.42 kB / 0.9542 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/1.211, allocations: 174.7 kB / 0.9544 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/1.211, allocations: 59.73 kB / 0.9545 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/1.211, allocations: 50.8 kB / 0.9545 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.212, allocations: 337.1 kB / 0.9548 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.212, allocations: 65.47 kB / 0.9549 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/1.212, allocations: 127.7 kB / 0.955 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/1.212, allocations: 191 kB / 0.9552 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.212, allocations: 1.094 kB / 0.9552 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005073/1.213, allocations: 239 kB / 0.9554 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.213, allocations: 5.156 kB / 0.9554 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.213, allocations: 1.031 kB / 0.9554 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.213, allocations: 6.047 kB / 0.9554 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/1.213, allocations: 46 kB / 0.9555 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.213, allocations: 4.625 kB / 0.9555 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/1.213, allocations: 38.78 kB / 0.9555 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/1.213, allocations: 10.81 kB / 0.9555 GB, free: 18.79 MB / 0.7481 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.0001552/1.214, allocations: 153.9 kB / 0.9557 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/1.214, allocations: 28.75 kB / 0.9557 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/1.214, allocations: 218.9 kB / 0.9559 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.214, allocations: 1.656 kB / 0.9559 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.214, allocations: 6.594 kB / 0.9559 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.214, allocations: 0.5 kB / 0.9559 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/1.216, allocations: 0.6817 MB / 0.9566 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.216, allocations: 1.719 kB / 0.9566 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.216, allocations: 31.38 kB / 0.9566 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.216, allocations: 3.844 kB / 0.9566 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.216, allocations: 13.84 kB / 0.9566 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/1.216, allocations: 2.781 kB / 0.9567 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.216, allocations: 5.125 kB / 0.9567 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/1.217, allocations: 429.4 kB / 0.9571 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/1.217, allocations: 128.9 kB / 0.9572 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/1.217, allocations: 12.52 kB / 0.9572 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/1.217, allocations: 14.48 kB / 0.9572 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/1.217, allocations: 14.61 kB / 0.9572 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/1.217, allocations: 12.81 kB / 0.9572 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004519/1.218, allocations: 226.5 kB / 0.9575 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.218, allocations: 0 / 0.9575 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007051/1.218, allocations: 81.06 kB / 0.9575 GB, free: 17.83 MB / 0.7481 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.0006479/1.219, allocations: 165.2 kB / 0.9577 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007133/1.22, allocations: 182.5 kB / 0.9579 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.22, allocations: 0.5938 kB / 0.9579 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/1.22, allocations: 87.09 kB / 0.9579 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/1.221, allocations: 176.8 kB / 0.9581 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/1.223, allocations: 0.6799 MB / 0.9588 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/1.223, allocations: 0.7801 MB / 0.9595 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002846/1.224, allocations: 68.08 kB / 0.9596 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/1.224, allocations: 23.34 kB / 0.9596 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/1.224, allocations: 0 / 0.9596 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of Templates: time 0.01316/1.237, allocations: 5.663 MB / 0.9652 GB, free: 16.19 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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)