Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.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.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001092/0.001092, allocations: 184 kB / 17.22 MB, free: 5.934 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.399/1.399, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.927/1.927, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001441/0.001442, allocations: 63.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2481, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6004/0.8485, allocations: 214.6 MB / 0.9937 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0256/0.8742, allocations: 21.29 MB / 1.014 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.8763, allocations: 47.75 kB / 1.014 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.8787, allocations: 0.7414 MB / 1.015 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.8904, allocations: 4.24 MB / 1.019 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.8935, allocations: 1.051 MB / 1.02 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00566/0.8992, allocations: 3.88 MB / 1.024 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.9016, allocations: 1.561 MB / 1.026 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/0.9059, allocations: 1.627 MB / 1.027 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.9097, allocations: 1.545 MB / 1.029 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004944/0.9102, allocations: 164 kB / 1.029 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.9142, allocations: 1.765 MB / 1.031 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008581/0.9151, allocations: 0.7403 MB / 1.031 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.9164, allocations: 0.9489 MB / 1.032 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.9204, allocations: 2.89 MB / 1.035 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.9205, allocations: 4 kB / 1.035 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9205, allocations: 0 / 1.035 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.714e-05/0.9205, allocations: 0 / 1.035 GB, free: 9.34 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003223/0.9238, allocations: 2.033 MB / 1.037 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9238, allocations: 12.03 kB / 1.037 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.9258, allocations: 369.6 kB / 1.038 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.9276, allocations: 1.089 MB / 1.039 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.9277, allocations: 102.6 kB / 1.039 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.9279, allocations: 135.9 kB / 1.039 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.9302, allocations: 1.583 MB / 1.04 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.9303, allocations: 4 kB / 1.04 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.9304, allocations: 52 kB / 1.04 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.9305, allocations: 50.44 kB / 1.04 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.9325, allocations: 1.29 MB / 1.042 GB, free: 2.453 MB / 0.8262 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.007966/0.9405, allocations: 6.487 MB / 1.048 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.9416, allocations: 0.7884 MB / 1.049 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.9422, allocations: 434.5 kB / 1.049 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.9429, allocations: 417 kB / 1.05 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.943, allocations: 43.22 kB / 1.05 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 2.976e-06/0.943, allocations: 0 / 1.05 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73): time 0.002801/0.9458, allocations: 1.537 MB / 1.051 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.9458, allocations: 60.06 kB / 1.051 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.9474, allocations: 1.266 MB / 1.052 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.9475, allocations: 41.7 kB / 1.052 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/0.9481, allocations: 0.7032 MB / 1.053 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.9484, allocations: 260.2 kB / 1.053 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.9487, allocations: 190.5 kB / 1.054 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9488, allocations: 345.9 kB / 1.054 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.9494, allocations: 345.8 kB / 1.054 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008867/0.9503, allocations: 0.7309 MB / 1.055 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.9517, allocations: 1.046 MB / 1.056 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.9517, allocations: 0 / 1.056 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002028/0.9537, allocations: 1.249 MB / 1.057 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.9537, allocations: 12.06 kB / 1.057 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.9538, allocations: 15.98 kB / 1.057 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.9541, allocations: 134.5 kB / 1.057 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/0.9549, allocations: 199.7 kB / 1.058 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004519/0.9594, allocations: 5.385 MB / 1.063 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.9607, allocations: 143.3 kB / 1.063 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/0.9608, allocations: 44 kB / 1.063 GB, free: 11.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007744/0.9616, allocations: 421.5 kB / 1.063 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.9618, allocations: 142.2 kB / 1.064 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.9635, allocations: 1.064 MB / 1.065 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.9635, allocations: 8 kB / 1.065 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.9635, allocations: 144 / 1.065 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/0.9647, allocations: 0.9426 MB / 1.066 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.9688, allocations: 2.384 MB / 1.068 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.9688, allocations: 7.984 kB / 1.068 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.9695, allocations: 127.9 kB / 1.068 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003103/0.9698, allocations: 134.7 kB / 1.068 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.9699, allocations: 23.98 kB / 1.068 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005288/0.9752, allocations: 5.361 MB / 1.073 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.9753, allocations: 4 kB / 1.073 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.9778, allocations: 1.532 MB / 1.075 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.9784, allocations: 311.2 kB / 1.075 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.9786, allocations: 27.97 kB / 1.075 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.9793, allocations: 20 kB / 1.075 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.9794, allocations: 56.36 kB / 1.075 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.9795, allocations: 28 kB / 1.075 GB, free: 14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001216/0.9807, allocations: 0.8741 MB / 1.076 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9807, allocations: 4 kB / 1.076 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001492/0.9822, allocations: 451.2 kB / 1.077 GB, free: 12.68 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005315/0.9827, allocations: 234.2 kB / 1.077 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001916/0.9847, allocations: 1.231 MB / 1.078 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.9847, allocations: 0 / 1.078 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009086/0.9856, allocations: 0.7411 MB / 1.079 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.989, allocations: 0.8787 MB / 1.08 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.9935, allocations: 2.661 MB / 1.082 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.9948, allocations: 1.355 MB / 1.083 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001588/0.9964, allocations: 347.1 kB / 1.084 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.9967, allocations: 103.4 kB / 1.084 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of SimCode: time 1.293e-06/0.9967, allocations: 0 / 1.084 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of Templates: time 0.05261/1.049, allocations: 31.04 MB / 1.114 GB, free: 6.582 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)