Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.945/2.945, allocations: 287.3 MB / 302.3 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001635/0.001635, allocations: 182.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.6295 GB, free: 10.67 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 89.92 kB / 0.7428 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004962, allocations: 13.23 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 1.033/1.254, allocations: 177 MB / 1.151 GB, free: 8.816 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.05872/1.313, allocations: 18.54 MB / 1.169 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/1.317, allocations: 38.28 kB / 1.169 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004722/1.321, allocations: 0.7665 MB / 1.17 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01459/1.336, allocations: 2.895 MB / 1.173 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006007/1.342, allocations: 1.214 MB / 1.174 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006339/1.349, allocations: 2.234 MB / 1.176 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/1.352, allocations: 1.181 MB / 1.177 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006105/1.358, allocations: 1.672 MB / 1.179 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/1.361, allocations: 1.12 MB / 1.18 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004779/1.362, allocations: 69.62 kB / 1.18 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/1.366, allocations: 0.7852 MB / 1.181 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/1.367, allocations: 0.5924 MB / 1.181 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008371/1.368, allocations: 363.3 kB / 1.182 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/1.372, allocations: 1.921 MB / 1.184 GB, free: 276 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.372, allocations: 0 / 1.184 GB, free: 276 kB / 0.7136 GB Notification: Performance of FrontEnd: time 3.106e-06/1.372, allocations: 0 / 1.184 GB, free: 276 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.487e-05/1.372, allocations: 0 / 1.184 GB, free: 276 kB / 0.7136 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.004396/1.377, allocations: 1.683 MB / 1.185 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.377, allocations: 14.94 kB / 1.185 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/1.38, allocations: 373.9 kB / 1.186 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/1.383, allocations: 1.057 MB / 1.187 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.383, allocations: 100.8 kB / 1.187 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/1.384, allocations: 138.4 kB / 1.187 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/1.388, allocations: 1.559 MB / 1.188 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/1.388, allocations: 3.938 kB / 1.188 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/1.388, allocations: 52.88 kB / 1.188 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.111e-05/1.388, allocations: 54.42 kB / 1.189 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/1.392, allocations: 1.275 MB / 1.19 GB, free: 12.32 MB / 0.7292 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.01317/1.405, allocations: 6.504 MB / 1.196 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/1.407, allocations: 0.778 MB / 1.197 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/1.407, allocations: 155.7 kB / 1.197 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/1.408, allocations: 48.05 kB / 1.197 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.336e-06/1.408, allocations: 0 / 1.197 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.004631/1.412, allocations: 1.534 MB / 1.199 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/1.412, allocations: 63.41 kB / 1.199 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.415, allocations: 1.253 MB / 1.2 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/1.415, allocations: 42.08 kB / 1.2 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/1.416, allocations: 0.6982 MB / 1.201 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/1.416, allocations: 262.4 kB / 1.201 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/1.416, allocations: 20.84 kB / 1.201 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.417, allocations: 348.2 kB / 1.201 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009728/1.418, allocations: 339.5 kB / 1.202 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.419, allocations: 0.7209 MB / 1.202 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/1.42, allocations: 469.2 kB / 1.203 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/1.42, allocations: 2.75 kB / 1.203 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003591/1.424, allocations: 1.254 MB / 1.204 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/1.424, allocations: 8 kB / 1.204 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.424, allocations: 8 kB / 1.204 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/1.425, allocations: 134.5 kB / 1.204 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.426, allocations: 199.7 kB / 1.204 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/1.433, allocations: 4.879 MB / 1.209 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/1.436, allocations: 182.5 kB / 1.209 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.436, allocations: 44 kB / 1.209 GB, free: 11.66 MB / 0.7448 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.001099/1.437, allocations: 425.4 kB / 1.21 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/1.437, allocations: 146.2 kB / 1.21 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/1.44, allocations: 1.052 MB / 1.211 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.44, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.44, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002253/1.442, allocations: 0.9387 MB / 1.212 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006764/1.449, allocations: 2.388 MB / 1.214 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.449, allocations: 0 / 1.214 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/1.451, allocations: 135.9 kB / 1.214 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/1.451, allocations: 126.8 kB / 1.214 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/1.451, allocations: 20 kB / 1.214 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006563/1.458, allocations: 4.852 MB / 1.219 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.458, allocations: 4 kB / 1.219 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/1.462, allocations: 1.677 MB / 1.221 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.464, allocations: 319.2 kB / 1.221 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007159/1.465, allocations: 12 kB / 1.221 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/1.468, allocations: 71.73 kB / 1.221 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000409/1.468, allocations: 60.42 kB / 1.221 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.469, allocations: 24 kB / 1.221 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003636/1.472, allocations: 0.8702 MB / 1.222 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.42e-07/1.472, allocations: 0 / 1.222 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004542/1.477, allocations: 447.3 kB / 1.222 GB, free: 13.36 MB / 0.7605 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.001174/1.478, allocations: 224.3 kB / 1.223 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004589/1.483, allocations: 1.191 MB / 1.224 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.483, allocations: 4 kB / 1.224 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/1.485, allocations: 0.7346 MB / 1.225 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/1.497, allocations: 0.8376 MB / 1.225 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.508, allocations: 3.185 MB / 1.228 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/1.51, allocations: 1.375 MB / 1.23 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003607/1.514, allocations: 344.6 kB / 1.23 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008308/1.515, allocations: 111.4 kB / 1.23 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of SimCode: time 1.613e-06/1.515, allocations: 0 / 1.23 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of Templates: time 0.1001/1.615, allocations: 28.71 MB / 1.258 GB, free: 8.809 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)