Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 115.2 kB / 16.38 MB, free: 5.992 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.001018/0.001018, allocations: 185.6 kB / 17.31 MB, free: 5.609 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.00151/0.00151, allocations: 74.86 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1959, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.4696/0.6655, allocations: 169.4 MB / 0.9503 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007782/0.6733, allocations: 7.318 MB / 0.9574 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.6738, allocations: 14 kB / 0.9574 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.6745, allocations: 206.6 kB / 0.9576 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.6758, allocations: 0.5833 MB / 0.9582 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.6769, allocations: 431 kB / 0.9586 GB, free: 8 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008304/0.6777, allocations: 0.705 MB / 0.9593 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.6781, allocations: 264.3 kB / 0.9596 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006355/0.6788, allocations: 386.5 kB / 0.9599 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.6791, allocations: 215 kB / 0.9601 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.6791, allocations: 16 kB / 0.9601 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.6801, allocations: 0.7093 MB / 0.9608 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.6803, allocations: 103.7 kB / 0.9609 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.6804, allocations: 155.2 kB / 0.9611 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.6811, allocations: 0.5803 MB / 0.9616 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6812, allocations: 0 / 0.9616 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6812, allocations: 0 / 0.9616 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.6812, allocations: 0 / 0.9616 GB, free: 4.887 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000815/0.682, allocations: 0.6454 MB / 0.9623 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.682, allocations: 12.02 kB / 0.9623 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.6824, allocations: 63.44 kB / 0.9623 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.6828, allocations: 318.1 kB / 0.9627 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.6828, allocations: 16.44 kB / 0.9627 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.6829, allocations: 24 kB / 0.9627 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.6833, allocations: 298.6 kB / 0.963 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6833, allocations: 3.938 kB / 0.963 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.6834, allocations: 27.91 kB / 0.963 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6834, allocations: 8 kB / 0.963 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.6838, allocations: 168.7 kB / 0.9632 GB, free: 3.203 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.001482/0.6853, allocations: 1.694 MB / 0.9648 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.6855, allocations: 90.5 kB / 0.9649 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.6857, allocations: 83.11 kB / 0.965 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.6859, allocations: 194.1 kB / 0.9652 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.686, allocations: 30.56 kB / 0.9652 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.686, allocations: 0 / 0.9652 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0006508/0.6866, allocations: 221.2 kB / 0.9654 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.6867, allocations: 55.41 kB / 0.9655 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.687, allocations: 328.5 kB / 0.9658 GB, free: 328 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.687, allocations: 25.7 kB / 0.9658 GB, free: 296 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.6871, allocations: 191.8 kB / 0.966 GB, free: 100 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.6872, allocations: 43.45 kB / 0.966 GB, free: 56 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.6872, allocations: 49.61 kB / 0.9661 GB, free: 0 / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6874, allocations: 334.9 kB / 0.9664 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6875, allocations: 72.75 kB / 0.9665 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.6878, allocations: 187.2 kB / 0.9666 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.6881, allocations: 234.7 kB / 0.9669 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6881, allocations: 4 kB / 0.9669 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004598/0.6886, allocations: 257.1 kB / 0.9671 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.6886, allocations: 4 kB / 0.9671 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6886, allocations: 4 kB / 0.9671 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6887, allocations: 8 kB / 0.9671 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.6888, allocations: 47.91 kB / 0.9672 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6889, allocations: 11.94 kB / 0.9672 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.6891, allocations: 35.67 kB / 0.9672 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.6892, allocations: 12.22 kB / 0.9672 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002232/0.6894, allocations: 174.9 kB / 0.9674 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002257/0.6896, allocations: 191.2 kB / 0.9676 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003345/0.69, allocations: 237.4 kB / 0.9678 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.69, allocations: 4 kB / 0.9678 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.00044/0.6904, allocations: 246.4 kB / 0.9681 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6904, allocations: 15.92 kB / 0.9681 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6905, allocations: 4 kB / 0.9681 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.6905, allocations: 4 kB / 0.9681 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.6906, allocations: 43.92 kB / 0.9681 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6907, allocations: 10.12 kB / 0.9681 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.6909, allocations: 32.44 kB / 0.9682 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.6909, allocations: 16.22 kB / 0.9682 GB, free: 13.61 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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 9.539e-05/0.691, allocations: 200.2 kB / 0.9684 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.6911, allocations: 27.66 kB / 0.9684 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.6915, allocations: 168.6 kB / 0.9686 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6915, allocations: 0 / 0.9686 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6915, allocations: 1.25 kB / 0.9686 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.6916, allocations: 124.6 kB / 0.9687 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.6916, allocations: 1.875 kB / 0.9687 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.6918, allocations: 15.98 kB / 0.9687 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.6919, allocations: 4 kB / 0.9687 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003834/0.6922, allocations: 225.5 kB / 0.9689 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003703/0.6926, allocations: 331.2 kB / 0.9692 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001326/0.6928, allocations: 48.5 kB / 0.9693 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002095/0.693, allocations: 227 kB / 0.9695 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of Backend: time 6.21e-07/0.693, allocations: 0 / 0.9695 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.6942, allocations: 425.5 kB / 0.9699 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of SimCode: time 0.001155/0.6953, allocations: 0.9922 MB / 0.9709 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of Templates: time 0.01071/0.7061, allocations: 6.474 MB / 0.9772 GB, free: 4.441 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)