Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.546/1.546, allocations: 288.4 MB / 303.6 MB, free: 8.055 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.0009585/0.0009585, allocations: 187 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0007256/0.0007255, allocations: 96.83 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005608/0.0005609, allocations: 20.86 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1846, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.5671/0.7518, allocations: 195.5 MB / 1.171 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02912/0.7809, allocations: 19.81 MB / 1.19 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.7831, allocations: 41.03 kB / 1.19 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.7853, allocations: 0.5559 MB / 1.191 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.009523/0.7949, allocations: 3.686 MB / 1.195 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.7973, allocations: 0.8035 MB / 1.195 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004946/0.8023, allocations: 4.525 MB / 1.2 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.8043, allocations: 1.277 MB / 1.201 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.807, allocations: 1.39 MB / 1.202 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003844/0.8109, allocations: 1.466 MB / 1.204 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004905/0.8114, allocations: 75.06 kB / 1.204 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006401/0.8178, allocations: 1.977 MB / 1.206 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.819, allocations: 0.6433 MB / 1.207 GB, free: 176 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.8208, allocations: 0.8191 MB / 1.207 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.8247, allocations: 2.125 MB / 1.209 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.8248, allocations: 2.438 kB / 1.209 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.787e-06/0.8248, allocations: 0 / 1.209 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.699e-05/0.8248, allocations: 7.938 kB / 1.209 GB, free: 14.3 MB / 0.7448 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.004356/0.8292, allocations: 1.69 MB / 1.211 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.8293, allocations: 8 kB / 1.211 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003524/0.8296, allocations: 195 kB / 1.211 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/0.8328, allocations: 379.3 kB / 1.212 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.8356, allocations: 1.093 MB / 1.213 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.8358, allocations: 101.7 kB / 1.213 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.8361, allocations: 131.9 kB / 1.213 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.8398, allocations: 1.578 MB / 1.214 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.8399, allocations: 4 kB / 1.214 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.8401, allocations: 52 kB / 1.214 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.8402, allocations: 46.45 kB / 1.215 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.8427, allocations: 1.282 MB / 1.216 GB, free: 9.098 MB / 0.7448 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.009803/0.8526, allocations: 6.499 MB / 1.222 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.8537, allocations: 0.7821 MB / 1.223 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.8544, allocations: 436.3 kB / 1.223 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/0.8551, allocations: 428.9 kB / 1.224 GB, free: 472 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.8551, allocations: 43.22 kB / 1.224 GB, free: 420 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.8551, allocations: 0 / 1.224 GB, free: 420 kB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.002941/0.8581, allocations: 1.544 MB / 1.225 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.8581, allocations: 60.06 kB / 1.225 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.8597, allocations: 1.243 MB / 1.227 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.8598, allocations: 41.7 kB / 1.227 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/0.8604, allocations: 0.6992 MB / 1.227 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.8607, allocations: 264.2 kB / 1.228 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.8607, allocations: 20 kB / 1.228 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8609, allocations: 349.9 kB / 1.228 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/0.8614, allocations: 345.7 kB / 1.228 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/0.8622, allocations: 0.7153 MB / 1.229 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.8637, allocations: 1.052 MB / 1.23 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.8637, allocations: 3.938 kB / 1.23 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002405/0.8661, allocations: 1.242 MB / 1.231 GB, free: 8.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.8662, allocations: 8 kB / 1.231 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.8662, allocations: 8 kB / 1.231 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.8666, allocations: 143.1 kB / 1.231 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.8673, allocations: 195.7 kB / 1.231 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004627/0.872, allocations: 4.839 MB / 1.236 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.8737, allocations: 185.6 kB / 1.236 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.8739, allocations: 47.94 kB / 1.236 GB, free: 2.605 MB / 0.7605 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.0008449/0.8747, allocations: 425.3 kB / 1.237 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.8751, allocations: 142.2 kB / 1.237 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.8769, allocations: 1.052 MB / 1.238 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8769, allocations: 8 kB / 1.238 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.877, allocations: 0 / 1.238 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/0.8784, allocations: 0.9348 MB / 1.239 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.8831, allocations: 2.387 MB / 1.241 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.8832, allocations: 4.312 kB / 1.241 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008304/0.884, allocations: 135.8 kB / 1.241 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/0.8844, allocations: 122.5 kB / 1.241 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.8845, allocations: 23.98 kB / 1.242 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004069/0.8886, allocations: 4.82 MB / 1.246 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8886, allocations: 4.156 kB / 1.246 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.8908, allocations: 1.535 MB / 1.248 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007296/0.8916, allocations: 323.1 kB / 1.248 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.8917, allocations: 12 kB / 1.248 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/0.8926, allocations: 71.78 kB / 1.248 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.8928, allocations: 60.44 kB / 1.248 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.8928, allocations: 23.98 kB / 1.248 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001184/0.894, allocations: 0.8663 MB / 1.249 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.894, allocations: 0 / 1.249 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001485/0.8955, allocations: 447.3 kB / 1.249 GB, free: 4.555 MB / 0.7761 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.002859/0.8984, allocations: 2.207 MB / 1.252 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.9002, allocations: 1.199 MB / 1.253 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.9002, allocations: 0 / 1.253 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.901, allocations: 0.7345 MB / 1.254 GB, free: 288 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/0.9053, allocations: 0.8391 MB / 1.254 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.9191, allocations: 8.846 MB / 1.263 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/0.9201, allocations: 1.351 MB / 1.264 GB, free: 4.746 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001553/0.9216, allocations: 348.6 kB / 1.265 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007102/0.9224, allocations: 0.5383 MB / 1.265 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of SimCode: time 1.202e-06/0.9224, allocations: 3.938 kB / 1.265 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7876/1.71, allocations: 42.42 MB / 1.307 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003681/1.71, allocations: 249.6 kB / 1.307 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/5.464, allocations: 0 / 1.307 GB, free: 9.648 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)