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.441/1.441, allocations: 252 MB / 267.6 MB, free: 10.92 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.001151/0.001151, allocations: 184.4 kB / 327.3 MB, free: 2.191 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.996/1.996, allocations: 205.4 MB / 0.5783 GB, free: 20.19 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.0007909/0.0007909, allocations: 94.34 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 13.97 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7051/0.8996, allocations: 195.8 MB / 1.092 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.923, allocations: 19.95 MB / 1.112 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.9254, allocations: 41.44 kB / 1.112 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.9276, allocations: 0.5172 MB / 1.112 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00991/0.9375, allocations: 2.958 MB / 1.115 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.9406, allocations: 0.8079 MB / 1.116 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006327/0.9469, allocations: 4.625 MB / 1.12 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.9492, allocations: 1.18 MB / 1.121 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.9537, allocations: 1.43 MB / 1.123 GB, free: 3.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004683/0.9584, allocations: 1.481 MB / 1.124 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000567/0.959, allocations: 68.5 kB / 1.124 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.9632, allocations: 0.889 MB / 1.125 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.9643, allocations: 0.6531 MB / 1.126 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.9655, allocations: 362.9 kB / 1.126 GB, free: 19.17 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.9688, allocations: 2.056 MB / 1.128 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9688, allocations: 0 / 1.128 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9688, allocations: 0 / 1.128 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.294e-05/0.9689, allocations: 0 / 1.128 GB, free: 19.01 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.003336/0.9722, allocations: 1.711 MB / 1.13 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.9723, allocations: 10.67 kB / 1.13 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.9744, allocations: 384.7 kB / 1.13 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.9766, allocations: 1.058 MB / 1.131 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/0.9767, allocations: 101.4 kB / 1.131 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.9769, allocations: 132 kB / 1.132 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.9797, allocations: 1.598 MB / 1.133 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.9797, allocations: 1.859 kB / 1.133 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.9798, allocations: 53.09 kB / 1.133 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.9799, allocations: 52.19 kB / 1.133 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.982, allocations: 1.286 MB / 1.134 GB, free: 17.33 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.009502/0.9915, allocations: 6.505 MB / 1.141 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.9926, allocations: 0.7713 MB / 1.142 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/0.9931, allocations: 422.2 kB / 1.142 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007492/0.9939, allocations: 430.2 kB / 1.142 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.9939, allocations: 42.31 kB / 1.142 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 3.577e-06/0.9939, allocations: 6.531 kB / 1.142 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002921/0.9969, allocations: 1.527 MB / 1.144 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.9969, allocations: 57.56 kB / 1.144 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.9985, allocations: 1.248 MB / 1.145 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.9986, allocations: 41.42 kB / 1.145 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/0.9992, allocations: 0.6987 MB / 1.146 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.9994, allocations: 266.2 kB / 1.146 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.9995, allocations: 22.89 kB / 1.146 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9997, allocations: 346.7 kB / 1.146 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/1, allocations: 337.6 kB / 1.147 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/1.001, allocations: 0.6934 MB / 1.147 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/1.002, allocations: 462.1 kB / 1.148 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/1.002, allocations: 3.312 kB / 1.148 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002023/1.004, allocations: 1.247 MB / 1.149 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.004, allocations: 8.75 kB / 1.149 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/1.004, allocations: 11.31 kB / 1.149 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/1.004, allocations: 136 kB / 1.149 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/1.005, allocations: 195.8 kB / 1.149 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/1.01, allocations: 4.838 MB / 1.154 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.011, allocations: 192.6 kB / 1.154 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/1.011, allocations: 41.19 kB / 1.154 GB, free: 5.215 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009374/1.012, allocations: 430.1 kB / 1.155 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/1.013, allocations: 140.6 kB / 1.155 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/1.014, allocations: 1.054 MB / 1.156 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.014, allocations: 6.438 kB / 1.156 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.014, allocations: 0 / 1.156 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/1.015, allocations: 0.9226 MB / 1.157 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/1.019, allocations: 2.384 MB / 1.159 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.019, allocations: 10.95 kB / 1.159 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/1.02, allocations: 135.2 kB / 1.159 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/1.02, allocations: 122.2 kB / 1.16 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/1.02, allocations: 20.56 kB / 1.16 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/1.024, allocations: 4.814 MB / 1.164 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.024, allocations: 4.031 kB / 1.164 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/1.026, allocations: 1.516 MB / 1.166 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007705/1.027, allocations: 332.1 kB / 1.166 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.027, allocations: 15.81 kB / 1.166 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/1.028, allocations: 74.59 kB / 1.166 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.028, allocations: 56.45 kB / 1.166 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/1.028, allocations: 28.2 kB / 1.166 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001256/1.03, allocations: 0.8635 MB / 1.167 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.31e-07/1.03, allocations: 0 / 1.167 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001638/1.031, allocations: 452.2 kB / 1.167 GB, free: 14.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006087/1.032, allocations: 246.3 kB / 1.168 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.034, allocations: 1.185 MB / 1.169 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.034, allocations: 1.25 kB / 1.169 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008398/1.035, allocations: 0.739 MB / 1.17 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.039, allocations: 0.8459 MB / 1.17 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/1.044, allocations: 3.304 MB / 1.174 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.045, allocations: 1.349 MB / 1.175 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/1.046, allocations: 114.1 kB / 1.175 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/1.046, allocations: 0 / 1.175 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of Templates: time 0.05752/1.103, allocations: 42.47 MB / 1.217 GB, free: 15.96 MB / 0.7761 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)