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.408/1.408, allocations: 252 MB / 267 MB, free: 10.95 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.001057/0.001058, allocations: 182.2 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.5776 GB, free: 20.53 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.0008562/0.0008559, allocations: 87.92 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003857, allocations: 11.56 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2859, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.88/1.166, allocations: 195.8 MB / 1.092 GB, free: 3.879 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02727/1.193, allocations: 19.95 MB / 1.111 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/1.196, allocations: 42.53 kB / 1.111 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/1.199, allocations: 0.5131 MB / 1.112 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/1.21, allocations: 2.961 MB / 1.114 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/1.213, allocations: 0.8094 MB / 1.115 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006379/1.22, allocations: 4.626 MB / 1.12 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/1.222, allocations: 1.175 MB / 1.121 GB, free: 3.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/1.226, allocations: 1.427 MB / 1.122 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/1.23, allocations: 1.485 MB / 1.124 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003742/1.23, allocations: 71.88 kB / 1.124 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/1.234, allocations: 0.8901 MB / 1.125 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008882/1.235, allocations: 0.652 MB / 1.125 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008114/1.236, allocations: 361.1 kB / 1.126 GB, free: 3.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/1.239, allocations: 2.058 MB / 1.128 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.239, allocations: 0 / 1.128 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/1.239, allocations: 4 kB / 1.128 GB, free: 2.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.581e-05/1.239, allocations: 0 / 1.128 GB, free: 2.926 MB / 0.698 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.003452/1.242, allocations: 1.709 MB / 1.129 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.242, allocations: 13.41 kB / 1.129 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/1.243, allocations: 199 kB / 1.13 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/1.245, allocations: 377.7 kB / 1.13 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/1.247, allocations: 1.058 MB / 1.131 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.248, allocations: 100.2 kB / 1.131 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/1.248, allocations: 133.6 kB / 1.131 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/1.251, allocations: 1.597 MB / 1.133 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/1.251, allocations: 2.531 kB / 1.133 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/1.251, allocations: 56.66 kB / 1.133 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.676e-05/1.251, allocations: 49.53 kB / 1.133 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/1.254, allocations: 1.289 MB / 1.134 GB, free: 17.2 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.01041/1.264, allocations: 6.502 MB / 1.14 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.265, allocations: 0.7681 MB / 1.141 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005081/1.266, allocations: 429.7 kB / 1.142 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007549/1.266, allocations: 427.2 kB / 1.142 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.266, allocations: 45.22 kB / 1.142 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 3.437e-06/1.266, allocations: 0 / 1.142 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002927/1.269, allocations: 1.531 MB / 1.144 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/1.269, allocations: 60.88 kB / 1.144 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/1.271, allocations: 1.241 MB / 1.145 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.271, allocations: 48.23 kB / 1.145 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/1.272, allocations: 0.7034 MB / 1.146 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/1.272, allocations: 263 kB / 1.146 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/1.272, allocations: 20.34 kB / 1.146 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.272, allocations: 349.4 kB / 1.146 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/1.273, allocations: 338.2 kB / 1.146 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/1.274, allocations: 0.6917 MB / 1.147 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/1.274, allocations: 462.4 kB / 1.148 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.274, allocations: 3.344 kB / 1.148 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002116/1.276, allocations: 1.246 MB / 1.149 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/1.276, allocations: 11.92 kB / 1.149 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/1.276, allocations: 8.719 kB / 1.149 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/1.277, allocations: 132.9 kB / 1.149 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/1.278, allocations: 200 kB / 1.149 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/1.282, allocations: 4.828 MB / 1.154 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/1.284, allocations: 188.2 kB / 1.154 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.284, allocations: 56.39 kB / 1.154 GB, free: 5.07 MB / 0.7136 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.0008911/1.285, allocations: 428.3 kB / 1.155 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/1.285, allocations: 142.3 kB / 1.155 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/1.287, allocations: 1.046 MB / 1.156 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.287, allocations: 8.625 kB / 1.156 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/1.287, allocations: 0 / 1.156 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/1.288, allocations: 0.918 MB / 1.157 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/1.292, allocations: 2.39 MB / 1.159 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.292, allocations: 3.906 kB / 1.159 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/1.293, allocations: 136.2 kB / 1.159 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/1.293, allocations: 120.7 kB / 1.159 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/1.293, allocations: 18.56 kB / 1.159 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004678/1.298, allocations: 4.818 MB / 1.164 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.298, allocations: 2.906 kB / 1.164 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/1.3, allocations: 1.521 MB / 1.165 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008195/1.301, allocations: 328.7 kB / 1.166 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/1.301, allocations: 15.59 kB / 1.166 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/1.302, allocations: 69.81 kB / 1.166 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/1.302, allocations: 63.02 kB / 1.166 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/1.302, allocations: 28.02 kB / 1.166 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001517/1.304, allocations: 0.8647 MB / 1.167 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.01e-07/1.304, allocations: 0 / 1.167 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002154/1.306, allocations: 454.2 kB / 1.167 GB, free: 13.87 MB / 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 (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.002962/1.309, allocations: 2.203 MB / 1.169 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.311, allocations: 1.189 MB / 1.17 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.311, allocations: 0 / 1.17 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008266/1.312, allocations: 0.7312 MB / 1.171 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/1.316, allocations: 0.8452 MB / 1.172 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.33, allocations: 8.803 MB / 1.181 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.332, allocations: 1.35 MB / 1.182 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001751/1.333, allocations: 348.5 kB / 1.182 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007526/1.334, allocations: 0.5356 MB / 1.183 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of SimCode: time 1.723e-06/1.334, allocations: 0 / 1.183 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08172/1.416, allocations: 41.82 MB / 1.224 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004589/1.416, allocations: 254.9 kB / 1.224 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/4.888, allocations: 0 / 1.224 GB, free: 9.426 MB / 0.7761 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)