Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005472/0.005472, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001178/0.001178, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001748/0.001748, allocations: 67.91 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6696/0.6713, allocations: 104.7 MB / 0.8281 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2412/0.9126, allocations: 215 MB / 1.038 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02801/0.9406, allocations: 21.46 MB / 1.059 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.9438, allocations: 51.69 kB / 1.059 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.9467, allocations: 0.7571 MB / 1.06 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.9585, allocations: 4.4 MB / 1.064 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.9617, allocations: 1.112 MB / 1.065 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005111/0.9668, allocations: 4.008 MB / 1.069 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.969, allocations: 1.593 MB / 1.071 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.9722, allocations: 1.701 MB / 1.072 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.9754, allocations: 1.575 MB / 1.074 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004465/0.9759, allocations: 164 kB / 1.074 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004072/0.98, allocations: 1.785 MB / 1.076 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.9812, allocations: 0.752 MB / 1.076 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.9831, allocations: 0.9606 MB / 1.077 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005523/0.9886, allocations: 2.927 MB / 1.08 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.9886, allocations: 0 / 1.08 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9887, allocations: 3.938 kB / 1.08 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001368/0.9888, allocations: 0 / 1.08 GB, free: 15.43 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005077/0.9939, allocations: 2.038 MB / 1.082 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.9939, allocations: 11.97 kB / 1.082 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.9962, allocations: 377.6 kB / 1.083 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.9984, allocations: 1.136 MB / 1.084 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.9985, allocations: 102.6 kB / 1.084 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.9988, allocations: 132 kB / 1.084 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/1.002, allocations: 1.61 MB / 1.085 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/1.002, allocations: 0 / 1.085 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/1.002, allocations: 55.94 kB / 1.086 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/1.002, allocations: 58.47 kB / 1.086 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/1.004, allocations: 1.29 MB / 1.087 GB, free: 8.445 MB / 0.8887 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.00806/1.012, allocations: 6.495 MB / 1.093 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.013, allocations: 0.7908 MB / 1.094 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/1.014, allocations: 427.9 kB / 1.094 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5695/1.583, allocations: 410.7 kB / 1.095 GB, free: 266 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/1.583, allocations: 42.62 kB / 1.095 GB, free: 266 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=73): time 3.366e-06/1.583, allocations: 0 / 1.095 GB, free: 266 MB / 0.8887 GB Notification: Performance of matching and sorting (n=73): time 0.00396/1.587, allocations: 1.531 MB / 1.096 GB, free: 265.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.587, allocations: 59.58 kB / 1.096 GB, free: 265.5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/1.59, allocations: 1.258 MB / 1.098 GB, free: 265 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/1.59, allocations: 39.77 kB / 1.098 GB, free: 265 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007941/1.591, allocations: 0.6984 MB / 1.098 GB, free: 264.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/1.592, allocations: 262.7 kB / 1.099 GB, free: 264.3 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/1.592, allocations: 194.4 kB / 1.099 GB, free: 264.2 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.592, allocations: 347 kB / 1.099 GB, free: 263.9 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/1.593, allocations: 344.2 kB / 1.099 GB, free: 263.8 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/1.594, allocations: 0.6994 MB / 1.1 GB, free: 263.3 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.595, allocations: 1.04 MB / 1.101 GB, free: 262.6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.595, allocations: 3.938 kB / 1.101 GB, free: 262.6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001797/1.597, allocations: 1.247 MB / 1.102 GB, free: 262.1 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.597, allocations: 14.84 kB / 1.102 GB, free: 262.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.597, allocations: 13.41 kB / 1.102 GB, free: 262.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/1.597, allocations: 133.3 kB / 1.102 GB, free: 262.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/1.598, allocations: 195.5 kB / 1.103 GB, free: 262.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/1.601, allocations: 5.382 MB / 1.108 GB, free: 257.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.602, allocations: 140.7 kB / 1.108 GB, free: 257 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.831e-05/1.603, allocations: 43.3 kB / 1.108 GB, free: 257 MB / 0.8887 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.0007088/1.603, allocations: 425.4 kB / 1.108 GB, free: 256.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/1.603, allocations: 147.7 kB / 1.109 GB, free: 256.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.605, allocations: 1.052 MB / 1.11 GB, free: 256.2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.605, allocations: 9.75 kB / 1.11 GB, free: 256.2 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/1.605, allocations: 0 / 1.11 GB, free: 256.2 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009726/1.606, allocations: 0.927 MB / 1.111 GB, free: 255.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/1.609, allocations: 2.391 MB / 1.113 GB, free: 253.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/1.609, allocations: 4 kB / 1.113 GB, free: 253.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/1.609, allocations: 132 kB / 1.113 GB, free: 253.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/1.61, allocations: 125.9 kB / 1.113 GB, free: 253.6 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/1.61, allocations: 23.98 kB / 1.113 GB, free: 253.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/1.613, allocations: 5.361 MB / 1.118 GB, free: 247.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.613, allocations: 7.938 kB / 1.118 GB, free: 247.9 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.614, allocations: 1.524 MB / 1.12 GB, free: 246.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/1.615, allocations: 323.2 kB / 1.12 GB, free: 245.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.615, allocations: 19.91 kB / 1.12 GB, free: 245.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/1.616, allocations: 23.98 kB / 1.12 GB, free: 245.9 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.616, allocations: 60.36 kB / 1.12 GB, free: 245.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/1.616, allocations: 34.33 kB / 1.12 GB, free: 245.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009518/1.617, allocations: 0.87 MB / 1.121 GB, free: 244.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.617, allocations: 0 / 1.121 GB, free: 244.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001399/1.618, allocations: 456.5 kB / 1.122 GB, free: 244.5 MB / 0.8887 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.0005187/1.619, allocations: 244.9 kB / 1.122 GB, free: 244.3 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001436/1.62, allocations: 1.199 MB / 1.123 GB, free: 243.1 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.62, allocations: 4 kB / 1.123 GB, free: 243.1 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006256/1.621, allocations: 0.7305 MB / 1.124 GB, free: 242.3 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.624, allocations: 0.8815 MB / 1.125 GB, free: 241.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/1.627, allocations: 2.694 MB / 1.127 GB, free: 238.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/1.628, allocations: 1.355 MB / 1.129 GB, free: 237.5 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009682/1.629, allocations: 343.7 kB / 1.129 GB, free: 237.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.629, allocations: 103.4 kB / 1.129 GB, free: 237 MB / 0.8887 GB Notification: Performance of SimCode: time 8.52e-07/1.629, allocations: 0 / 1.129 GB, free: 237 MB / 0.8887 GB Notification: Performance of Templates: time 0.04413/1.673, allocations: 31.35 MB / 1.16 GB, free: 206.2 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)