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.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00116/0.00116, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.587/1.587, allocations: 205.1 MB / 222 MB, free: 4.762 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.794/1.794, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001359/0.001359, allocations: 67.19 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3228, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8227/1.146, allocations: 165.1 MB / 0.9439 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003343/1.149, allocations: 1.556 MB / 0.9454 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/1.15, allocations: 13.69 kB / 0.9454 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/1.15, allocations: 112.9 kB / 0.9456 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/1.153, allocations: 0.6682 MB / 0.9462 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/1.155, allocations: 0.5512 MB / 0.9467 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001597/1.156, allocations: 0.9722 MB / 0.9477 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/1.157, allocations: 202.1 kB / 0.9479 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/1.158, allocations: 311.1 kB / 0.9482 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/1.159, allocations: 229.6 kB / 0.9484 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/1.159, allocations: 15.77 kB / 0.9484 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/1.162, allocations: 1.015 MB / 0.9494 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/1.162, allocations: 100.4 kB / 0.9495 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003596/1.163, allocations: 150.8 kB / 0.9496 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/1.165, allocations: 0.7642 MB / 0.9504 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.165, allocations: 0 / 0.9504 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/1.165, allocations: 4.531 kB / 0.9504 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.165, allocations: 0 / 0.9504 GB, free: 5.449 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.001677/1.167, allocations: 0.6517 MB / 0.951 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.167, allocations: 13.47 kB / 0.951 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.168, allocations: 154.5 kB / 0.9512 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/1.169, allocations: 305.9 kB / 0.9515 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/1.169, allocations: 20.62 kB / 0.9515 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/1.169, allocations: 21.91 kB / 0.9515 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/1.169, allocations: 274 kB / 0.9518 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.169, allocations: 4.938 kB / 0.9518 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/1.169, allocations: 9.188 kB / 0.9518 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/1.169, allocations: 6.484 kB / 0.9518 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/1.17, allocations: 194.9 kB / 0.952 GB, free: 20.63 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.001714/1.172, allocations: 1.213 MB / 0.9532 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/1.172, allocations: 138.1 kB / 0.9533 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/1.172, allocations: 99.59 kB / 0.9534 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007921/1.173, allocations: 299 kB / 0.9537 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/1.173, allocations: 39.81 kB / 0.9537 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/1.173, allocations: 0 / 0.9537 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0009362/1.174, allocations: 275.8 kB / 0.954 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.174, allocations: 58.08 kB / 0.954 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/1.174, allocations: 318.4 kB / 0.9544 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/1.175, allocations: 30.52 kB / 0.9544 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/1.175, allocations: 177.8 kB / 0.9545 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/1.175, allocations: 55.41 kB / 0.9546 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/1.175, allocations: 49.5 kB / 0.9546 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.175, allocations: 337.6 kB / 0.955 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/1.175, allocations: 66.75 kB / 0.955 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/1.176, allocations: 129.3 kB / 0.9552 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/1.176, allocations: 192.7 kB / 0.9553 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.176, allocations: 0 / 0.9553 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005413/1.176, allocations: 235.6 kB / 0.9556 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.177, allocations: 8.453 kB / 0.9556 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.177, allocations: 1.312 kB / 0.9556 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.177, allocations: 2.656 kB / 0.9556 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/1.177, allocations: 49.38 kB / 0.9556 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.177, allocations: 6.438 kB / 0.9556 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/1.177, allocations: 37.95 kB / 0.9557 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/1.177, allocations: 7.125 kB / 0.9557 GB, free: 18.52 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.0001868/1.177, allocations: 151.8 kB / 0.9558 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/1.177, allocations: 29.62 kB / 0.9558 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/1.178, allocations: 222.4 kB / 0.9561 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.178, allocations: 1.688 kB / 0.9561 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.178, allocations: 1.75 kB / 0.9561 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.178, allocations: 3.547 kB / 0.9561 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/1.179, allocations: 0.6777 MB / 0.9567 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.179, allocations: 3.344 kB / 0.9567 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/1.18, allocations: 32.19 kB / 0.9568 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.18, allocations: 4.062 kB / 0.9568 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/1.18, allocations: 10.28 kB / 0.9568 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.18, allocations: 7.875 kB / 0.9568 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.18, allocations: 5.219 kB / 0.9568 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/1.181, allocations: 436.2 kB / 0.9572 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/1.181, allocations: 124.2 kB / 0.9573 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/1.181, allocations: 7.25 kB / 0.9573 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/1.181, allocations: 14.84 kB / 0.9573 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/1.181, allocations: 17.84 kB / 0.9574 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/1.181, allocations: 11.25 kB / 0.9574 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000339/1.181, allocations: 224 kB / 0.9576 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.181, allocations: 3.406 kB / 0.9576 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005563/1.182, allocations: 76.84 kB / 0.9577 GB, free: 17.57 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.0004943/1.182, allocations: 170 kB / 0.9578 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004736/1.183, allocations: 164.8 kB / 0.958 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.183, allocations: 1.281 kB / 0.958 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/1.183, allocations: 88.84 kB / 0.9581 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/1.184, allocations: 164.9 kB / 0.9582 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/1.186, allocations: 0.6978 MB / 0.9589 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/1.186, allocations: 0.7719 MB / 0.9597 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002673/1.186, allocations: 65.61 kB / 0.9597 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/1.187, allocations: 24.78 kB / 0.9597 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of SimCode: time 8.31e-07/1.187, allocations: 0 / 0.9597 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of Templates: time 0.01418/1.201, allocations: 5.46 MB / 0.9651 GB, free: 15.93 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)