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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267.3 MB, free: 10.86 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.001356/0.001356, allocations: 175.6 kB / 327 MB, free: 2.102 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.997/1.997, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.001068/0.001067, allocations: 86.36 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003541, allocations: 13.86 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2583, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8815/1.14, allocations: 209.9 MB / 1.106 GB, free: 1.281 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02587/1.166, allocations: 21.32 MB / 1.127 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/1.169, allocations: 42.31 kB / 1.127 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/1.171, allocations: 0.6209 MB / 1.127 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.185, allocations: 4.006 MB / 1.131 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/1.188, allocations: 0.9869 MB / 1.132 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007613/1.196, allocations: 5.48 MB / 1.138 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/1.199, allocations: 1.301 MB / 1.139 GB, free: 336 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/1.203, allocations: 1.447 MB / 1.14 GB, free: 328 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005519/1.209, allocations: 1.543 MB / 1.142 GB, free: 320 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000712/1.21, allocations: 70.62 kB / 1.142 GB, free: 320 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006531/1.216, allocations: 2.014 MB / 1.144 GB, free: 304 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/1.218, allocations: 0.6501 MB / 1.144 GB, free: 276 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001984/1.22, allocations: 0.8676 MB / 1.145 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005678/1.225, allocations: 2.913 MB / 1.148 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.225, allocations: 0 / 1.148 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.856e-06/1.225, allocations: 2.531 kB / 1.148 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.706e-05/1.225, allocations: 0 / 1.148 GB, free: 14.82 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.00379/1.229, allocations: 1.694 MB / 1.15 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.854e-05/1.229, allocations: 15.31 kB / 1.15 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003569/1.23, allocations: 200 kB / 1.15 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/1.232, allocations: 375.4 kB / 1.15 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/1.234, allocations: 1.093 MB / 1.151 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.234, allocations: 102.8 kB / 1.151 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/1.234, allocations: 132.9 kB / 1.152 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/1.237, allocations: 1.595 MB / 1.153 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.237, allocations: 2.531 kB / 1.153 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/1.237, allocations: 63.41 kB / 1.153 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/1.238, allocations: 50.53 kB / 1.153 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/1.24, allocations: 1.295 MB / 1.155 GB, free: 12.16 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.01002/1.25, allocations: 6.511 MB / 1.161 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/1.251, allocations: 0.777 MB / 1.162 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/1.252, allocations: 428.6 kB / 1.162 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000899/1.253, allocations: 423.5 kB / 1.162 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/1.253, allocations: 49.25 kB / 1.163 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 3.807e-06/1.253, allocations: 0 / 1.163 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.0031/1.256, allocations: 1.541 MB / 1.164 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.256, allocations: 57.16 kB / 1.164 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.258, allocations: 1.261 MB / 1.165 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/1.258, allocations: 44.23 kB / 1.165 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000552/1.258, allocations: 0.7004 MB / 1.166 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/1.259, allocations: 266 kB / 1.166 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/1.259, allocations: 19.25 kB / 1.166 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.259, allocations: 349.1 kB / 1.167 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/1.259, allocations: 342.7 kB / 1.167 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/1.26, allocations: 0.7039 MB / 1.168 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/1.262, allocations: 1.036 MB / 1.169 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.262, allocations: 1.75 kB / 1.169 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002866/1.265, allocations: 1.247 MB / 1.17 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/1.265, allocations: 9.719 kB / 1.17 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.265, allocations: 14.75 kB / 1.17 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004017/1.265, allocations: 131.4 kB / 1.17 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008928/1.266, allocations: 202.8 kB / 1.17 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/1.271, allocations: 4.839 MB / 1.175 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.273, allocations: 185.7 kB / 1.175 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.273, allocations: 49.11 kB / 1.175 GB, free: 12.99 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009168/1.274, allocations: 423 kB / 1.176 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/1.274, allocations: 142.2 kB / 1.176 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/1.276, allocations: 1.055 MB / 1.177 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/1.276, allocations: 6.719 kB / 1.177 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.276, allocations: 3.281 kB / 1.177 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/1.277, allocations: 0.9297 MB / 1.178 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/1.281, allocations: 2.389 MB / 1.18 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.281, allocations: 0 / 1.18 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/1.282, allocations: 129.1 kB / 1.18 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/1.282, allocations: 124.9 kB / 1.18 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/1.283, allocations: 19.98 kB / 1.18 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004889/1.287, allocations: 4.831 MB / 1.185 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.287, allocations: 4.031 kB / 1.185 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/1.29, allocations: 1.521 MB / 1.186 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/1.291, allocations: 323.2 kB / 1.187 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.291, allocations: 16 kB / 1.187 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/1.292, allocations: 81.41 kB / 1.187 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.292, allocations: 51.06 kB / 1.187 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/1.292, allocations: 31.98 kB / 1.187 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001329/1.294, allocations: 0.8778 MB / 1.188 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/1.294, allocations: 4 kB / 1.188 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001638/1.295, allocations: 451.2 kB / 1.188 GB, free: 268 kB / 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00302/1.298, allocations: 2.205 MB / 1.19 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002008/1.3, allocations: 1.197 MB / 1.192 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.3, allocations: 0.5625 kB / 1.192 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008979/1.301, allocations: 0.7315 MB / 1.192 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/1.306, allocations: 0.8395 MB / 1.193 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/1.325, allocations: 12.26 MB / 1.205 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.326, allocations: 1.343 MB / 1.206 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001638/1.328, allocations: 360.5 kB / 1.207 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008411/1.329, allocations: 0.5423 MB / 1.207 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of SimCode: time 8.92e-07/1.329, allocations: 0 / 1.207 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07657/1.405, allocations: 40.58 MB / 1.247 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/1.406, allocations: 268.8 kB / 1.247 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.882/5.288, allocations: 0 / 1.247 GB, free: 3.684 MB / 0.7917 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)