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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 174.4 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.0009593, allocations: 86.19 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 11.19 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2085, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6706/0.8792, allocations: 212.4 MB / 1.104 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02194/0.9012, allocations: 21.59 MB / 1.125 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.9039, allocations: 43.69 kB / 1.125 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.9062, allocations: 0.6258 MB / 1.126 GB, free: 0.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.9168, allocations: 3.991 MB / 1.13 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.9198, allocations: 1.004 MB / 1.131 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006098/0.9259, allocations: 5.462 MB / 1.136 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.9279, allocations: 1.285 MB / 1.137 GB, free: 296 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.9312, allocations: 1.446 MB / 1.139 GB, free: 288 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00465/0.9359, allocations: 1.551 MB / 1.14 GB, free: 276 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.9363, allocations: 70.34 kB / 1.14 GB, free: 276 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.9408, allocations: 2.015 MB / 1.142 GB, free: 256 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009299/0.9417, allocations: 0.652 MB / 1.143 GB, free: 248 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.9433, allocations: 0.8426 MB / 1.144 GB, free: 36 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.9471, allocations: 2.16 MB / 1.146 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9471, allocations: 0 / 1.146 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9471, allocations: 0 / 1.146 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.646e-05/0.9471, allocations: 0 / 1.146 GB, free: 15.87 MB / 0.7136 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.00312/0.9503, allocations: 1.7 MB / 1.148 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.9503, allocations: 11.59 kB / 1.148 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.9522, allocations: 376.9 kB / 1.148 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.9542, allocations: 1.089 MB / 1.149 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.9543, allocations: 105 kB / 1.149 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.9545, allocations: 137 kB / 1.149 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.957, allocations: 1.6 MB / 1.151 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.9571, allocations: 5.688 kB / 1.151 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.9572, allocations: 50.88 kB / 1.151 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/0.9573, allocations: 52.62 kB / 1.151 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.9592, allocations: 1.293 MB / 1.152 GB, free: 13.3 MB / 0.7136 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.008195/0.9674, allocations: 6.514 MB / 1.159 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.9685, allocations: 0.7742 MB / 1.159 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.9691, allocations: 433.1 kB / 1.16 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007358/0.9698, allocations: 428.2 kB / 1.16 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.9699, allocations: 42.12 kB / 1.16 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.856e-06/0.9699, allocations: 0 / 1.16 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.003179/0.9731, allocations: 1.538 MB / 1.162 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.9732, allocations: 68.72 kB / 1.162 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.9753, allocations: 1.259 MB / 1.163 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.9754, allocations: 42.83 kB / 1.163 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.976, allocations: 0.7044 MB / 1.164 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.9763, allocations: 261.8 kB / 1.164 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.9765, allocations: 83.2 kB / 1.164 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9766, allocations: 345.2 kB / 1.164 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.9771, allocations: 341.3 kB / 1.165 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/0.9779, allocations: 0.7043 MB / 1.165 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.9793, allocations: 1.035 MB / 1.166 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.9793, allocations: 2.969 kB / 1.166 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00197/0.9813, allocations: 1.248 MB / 1.168 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.9813, allocations: 9.031 kB / 1.168 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.9814, allocations: 10.56 kB / 1.168 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.9817, allocations: 130.9 kB / 1.168 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.9825, allocations: 202 kB / 1.168 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.9868, allocations: 4.841 MB / 1.173 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.9884, allocations: 186.3 kB / 1.173 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/0.9885, allocations: 49.36 kB / 1.173 GB, free: 13.31 MB / 0.7292 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.0008403/0.9894, allocations: 420.4 kB / 1.173 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.9896, allocations: 140.5 kB / 1.173 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.9912, allocations: 1.056 MB / 1.174 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.9912, allocations: 10.62 kB / 1.174 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.9912, allocations: 0 / 1.174 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.9924, allocations: 0.931 MB / 1.175 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.9961, allocations: 2.387 MB / 1.178 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.9962, allocations: 4 kB / 1.178 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.9968, allocations: 129 kB / 1.178 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.9971, allocations: 129.3 kB / 1.178 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.9971, allocations: 23.98 kB / 1.178 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/1.001, allocations: 4.814 MB / 1.183 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.001, allocations: 7.984 kB / 1.183 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.003, allocations: 1.525 MB / 1.184 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007748/1.004, allocations: 315.2 kB / 1.184 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.004, allocations: 19.94 kB / 1.184 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/1.005, allocations: 81.45 kB / 1.185 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.005, allocations: 59.05 kB / 1.185 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/1.005, allocations: 35.92 kB / 1.185 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00134/1.007, allocations: 0.87 MB / 1.185 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/1.007, allocations: 0 / 1.185 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001677/1.008, allocations: 459.2 kB / 1.186 GB, free: 1.148 MB / 0.7292 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.0006118/1.009, allocations: 228.4 kB / 1.186 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.011, allocations: 1.194 MB / 1.187 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.011, allocations: 0 / 1.187 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008452/1.012, allocations: 0.7372 MB / 1.188 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/1.016, allocations: 0.8256 MB / 1.189 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/1.021, allocations: 3.328 MB / 1.192 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.022, allocations: 1.358 MB / 1.193 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/1.023, allocations: 111.4 kB / 1.193 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/1.023, allocations: 0 / 1.193 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of Templates: time 0.05799/1.081, allocations: 42.46 MB / 1.235 GB, free: 15.02 MB / 0.7917 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)