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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.706/2.706, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001306/0.001306, allocations: 185.4 kB / 371 MB, free: 10.87 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.261/2.261, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009942/0.0009941, allocations: 92.7 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005131, allocations: 12.69 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.233, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 1.035/1.268, allocations: 195.5 MB / 1.169 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04122/1.31, allocations: 19.81 MB / 1.189 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/1.312, allocations: 41.03 kB / 1.189 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/1.315, allocations: 0.5124 MB / 1.189 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/1.329, allocations: 2.946 MB / 1.192 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/1.333, allocations: 0.7789 MB / 1.193 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008289/1.341, allocations: 4.511 MB / 1.197 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00368/1.345, allocations: 1.16 MB / 1.198 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/1.35, allocations: 1.401 MB / 1.2 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/1.354, allocations: 1.456 MB / 1.201 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005975/1.355, allocations: 74.97 kB / 1.201 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/1.36, allocations: 0.8919 MB / 1.202 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001585/1.362, allocations: 0.6418 MB / 1.203 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/1.363, allocations: 357.5 kB / 1.203 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005197/1.368, allocations: 2.026 MB / 1.205 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.368, allocations: 2.469 kB / 1.205 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.156e-06/1.368, allocations: 0 / 1.205 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.274e-05/1.368, allocations: 0 / 1.205 GB, free: 1.117 MB / 0.7292 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.00532/1.374, allocations: 1.71 MB / 1.207 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.374, allocations: 11.5 kB / 1.207 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006671/1.374, allocations: 195.4 kB / 1.207 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/1.378, allocations: 377.1 kB / 1.207 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/1.381, allocations: 1.055 MB / 1.208 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/1.381, allocations: 105 kB / 1.208 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/1.382, allocations: 135 kB / 1.209 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/1.386, allocations: 1.563 MB / 1.21 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/1.386, allocations: 7.922 kB / 1.21 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/1.386, allocations: 57.27 kB / 1.21 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.562e-05/1.387, allocations: 50.02 kB / 1.21 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/1.39, allocations: 1.272 MB / 1.211 GB, free: 13.01 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.01372/1.404, allocations: 6.498 MB / 1.218 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/1.406, allocations: 0.7939 MB / 1.219 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/1.407, allocations: 427.3 kB / 1.219 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/1.408, allocations: 429.5 kB / 1.219 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/1.408, allocations: 39.22 kB / 1.219 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 3.336e-06/1.408, allocations: 0 / 1.219 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.004914/1.413, allocations: 1.537 MB / 1.221 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/1.413, allocations: 64.06 kB / 1.221 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/1.416, allocations: 1.258 MB / 1.222 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/1.416, allocations: 45.7 kB / 1.222 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000862/1.417, allocations: 0.6953 MB / 1.223 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/1.418, allocations: 268.2 kB / 1.223 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/1.418, allocations: 20 kB / 1.223 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.418, allocations: 337.9 kB / 1.224 GB, free: 180 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009963/1.419, allocations: 345.9 kB / 1.224 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.42, allocations: 0.7193 MB / 1.225 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/1.422, allocations: 465.5 kB / 1.225 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.422, allocations: 4 kB / 1.225 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003649/1.425, allocations: 1.246 MB / 1.226 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/1.425, allocations: 12 kB / 1.226 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.426, allocations: 8 kB / 1.226 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/1.426, allocations: 139.1 kB / 1.226 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.428, allocations: 203.7 kB / 1.227 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/1.434, allocations: 4.832 MB / 1.231 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/1.437, allocations: 182.5 kB / 1.231 GB, free: 7.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/1.437, allocations: 51.97 kB / 1.232 GB, free: 7.402 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.001214/1.438, allocations: 425.2 kB / 1.232 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/1.439, allocations: 142.2 kB / 1.232 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/1.441, allocations: 1.056 MB / 1.233 GB, free: 5.75 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.442, allocations: 8 kB / 1.233 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.442, allocations: 0 / 1.233 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002176/1.444, allocations: 0.9348 MB / 1.234 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/1.45, allocations: 2.384 MB / 1.236 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.45, allocations: 4 kB / 1.236 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.451, allocations: 136.1 kB / 1.236 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/1.452, allocations: 118.5 kB / 1.237 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/1.452, allocations: 23.98 kB / 1.237 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006284/1.458, allocations: 4.812 MB / 1.241 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.458, allocations: 7.938 kB / 1.241 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/1.462, allocations: 1.532 MB / 1.243 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.464, allocations: 319.2 kB / 1.243 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/1.464, allocations: 15.98 kB / 1.243 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.466, allocations: 63.8 kB / 1.243 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/1.466, allocations: 64.38 kB / 1.243 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.466, allocations: 28 kB / 1.243 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002057/1.468, allocations: 0.8624 MB / 1.244 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.61e-07/1.468, allocations: 0 / 1.244 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002652/1.471, allocations: 451.3 kB / 1.245 GB, free: 9.367 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.004959/1.476, allocations: 2.215 MB / 1.247 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003118/1.479, allocations: 1.191 MB / 1.248 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.479, allocations: 0 / 1.248 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.481, allocations: 0.7309 MB / 1.249 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007349/1.488, allocations: 0.8372 MB / 1.249 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/1.512, allocations: 8.88 MB / 1.258 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.514, allocations: 1.34 MB / 1.259 GB, free: 9.543 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002358/1.516, allocations: 344.6 kB / 1.26 GB, free: 9.199 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.518, allocations: 0.5344 MB / 1.26 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of SimCode: time 1.392e-06/1.518, allocations: 4 kB / 1.26 GB, free: 8.664 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1465/1.664, allocations: 41.92 MB / 1.301 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003595/1.665, allocations: 238.9 kB / 1.301 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.254/5.919, allocations: 0 / 1.301 GB, free: 14.96 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)