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.77/2.77, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001619/0.001618, allocations: 182.8 kB / 370.8 MB, free: 10.86 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.252/2.252, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001281/0.001281, allocations: 93.81 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005056, allocations: 13.98 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2427, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.9783/1.221, allocations: 177 MB / 1.151 GB, free: 8.719 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04175/1.263, allocations: 18.55 MB / 1.169 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/1.266, allocations: 40.97 kB / 1.169 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004449/1.27, allocations: 0.7556 MB / 1.17 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01416/1.285, allocations: 2.894 MB / 1.173 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006113/1.291, allocations: 1.207 MB / 1.174 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006659/1.297, allocations: 2.236 MB / 1.176 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/1.301, allocations: 1.191 MB / 1.177 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006426/1.307, allocations: 1.667 MB / 1.179 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/1.311, allocations: 1.117 MB / 1.18 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007495/1.312, allocations: 69.84 kB / 1.18 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004369/1.317, allocations: 0.7905 MB / 1.181 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/1.318, allocations: 0.589 MB / 1.181 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009513/1.319, allocations: 362.4 kB / 1.182 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004636/1.324, allocations: 1.918 MB / 1.184 GB, free: 188 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.324, allocations: 3.938 kB / 1.184 GB, free: 184 kB / 0.7136 GB Notification: Performance of FrontEnd: time 3.968e-06/1.324, allocations: 0 / 1.184 GB, free: 184 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.086e-05/1.324, allocations: 0 / 1.184 GB, free: 184 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.005682/1.33, allocations: 1.69 MB / 1.185 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/1.33, allocations: 10.38 kB / 1.185 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008359/1.33, allocations: 192.8 kB / 1.186 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/1.334, allocations: 381 kB / 1.186 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/1.338, allocations: 1.044 MB / 1.187 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/1.338, allocations: 97.62 kB / 1.187 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/1.339, allocations: 134.7 kB / 1.187 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/1.343, allocations: 1.571 MB / 1.189 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/1.343, allocations: 6.797 kB / 1.189 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/1.343, allocations: 52.94 kB / 1.189 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.276e-05/1.343, allocations: 50.23 kB / 1.189 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003494/1.347, allocations: 1.278 MB / 1.19 GB, free: 12.08 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.01333/1.36, allocations: 6.493 MB / 1.196 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/1.362, allocations: 0.7879 MB / 1.197 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/1.363, allocations: 155.9 kB / 1.197 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/1.363, allocations: 37.75 kB / 1.197 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.817e-06/1.363, allocations: 4 kB / 1.197 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.004892/1.368, allocations: 1.54 MB / 1.199 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/1.368, allocations: 59.19 kB / 1.199 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/1.371, allocations: 1.247 MB / 1.2 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/1.371, allocations: 45.39 kB / 1.2 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000815/1.372, allocations: 0.6988 MB / 1.201 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/1.372, allocations: 266.4 kB / 1.201 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/1.372, allocations: 16.91 kB / 1.201 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.372, allocations: 352.8 kB / 1.201 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009366/1.373, allocations: 349.5 kB / 1.202 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/1.375, allocations: 0.71 MB / 1.202 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.376, allocations: 462.7 kB / 1.203 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.376, allocations: 2.625 kB / 1.203 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003409/1.379, allocations: 1.262 MB / 1.204 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/1.379, allocations: 10.03 kB / 1.204 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.379, allocations: 8.812 kB / 1.204 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/1.38, allocations: 138.4 kB / 1.204 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.381, allocations: 195.7 kB / 1.205 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/1.388, allocations: 4.871 MB / 1.209 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/1.391, allocations: 186.5 kB / 1.209 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.391, allocations: 44 kB / 1.209 GB, free: 11.35 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.001125/1.392, allocations: 425.3 kB / 1.21 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/1.392, allocations: 142.3 kB / 1.21 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/1.395, allocations: 1.064 MB / 1.211 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.395, allocations: 4 kB / 1.211 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.395, allocations: 0 / 1.211 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/1.397, allocations: 0.9309 MB / 1.212 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/1.404, allocations: 2.396 MB / 1.214 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.404, allocations: 3.984 kB / 1.214 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.405, allocations: 131.8 kB / 1.214 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/1.406, allocations: 122.5 kB / 1.215 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.355e-05/1.406, allocations: 19.98 kB / 1.215 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006591/1.413, allocations: 4.855 MB / 1.219 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.413, allocations: 4.406 kB / 1.219 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/1.417, allocations: 1.666 MB / 1.221 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.418, allocations: 323.2 kB / 1.221 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/1.418, allocations: 16 kB / 1.221 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.42, allocations: 63.8 kB / 1.221 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/1.42, allocations: 64.41 kB / 1.221 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.461e-05/1.42, allocations: 31.94 kB / 1.221 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00206/1.422, allocations: 0.8624 MB / 1.222 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.81e-07/1.422, allocations: 3.938 kB / 1.222 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002545/1.425, allocations: 451.3 kB / 1.223 GB, free: 13.04 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.005217/1.43, allocations: 3.006 MB / 1.226 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002951/1.433, allocations: 1.187 MB / 1.227 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/1.433, allocations: 0 / 1.227 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.435, allocations: 0.7385 MB / 1.228 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006953/1.442, allocations: 0.8363 MB / 1.228 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/1.467, allocations: 14.65 MB / 1.243 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.469, allocations: 1.375 MB / 1.244 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002321/1.471, allocations: 344.7 kB / 1.244 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.472, allocations: 0.5344 MB / 1.245 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of SimCode: time 1.262e-06/1.472, allocations: 0 / 1.245 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/1.609, allocations: 41.88 MB / 1.286 GB, free: 12.21 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/1.61, allocations: 234.3 kB / 1.286 GB, free: 11.97 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.459/6.069, allocations: 3.625 kB / 1.286 GB, free: 11.97 MB / 0.823 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)