Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.3 MB / 0.6653 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 12 kB / 0.8146 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7859, allocations: 142.3 MB / 0.9536 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.1973/0.9832, allocations: 177 MB / 1.126 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02226/1.006, allocations: 18.58 MB / 1.145 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/1.007, allocations: 43.69 kB / 1.145 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/1.009, allocations: 0.7737 MB / 1.145 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008665/1.018, allocations: 2.916 MB / 1.148 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/1.021, allocations: 1.215 MB / 1.149 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003512/1.025, allocations: 2.269 MB / 1.152 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/1.026, allocations: 1.187 MB / 1.153 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/1.03, allocations: 1.679 MB / 1.154 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/1.032, allocations: 1.125 MB / 1.156 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/1.032, allocations: 72 kB / 1.156 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/1.034, allocations: 0.8348 MB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005664/1.035, allocations: 0.5921 MB / 1.157 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/1.035, allocations: 364.8 kB / 1.157 GB, free: 15.03 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/1.037, allocations: 1.948 MB / 1.159 GB, free: 13.08 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/1.037, allocations: 4 kB / 1.159 GB, free: 13.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/1.037, allocations: 0 / 1.159 GB, free: 13.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.778e-05/1.037, allocations: 0 / 1.159 GB, free: 13.07 MB / 0.92 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.002639/1.04, allocations: 1.695 MB / 1.161 GB, free: 11.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/1.04, allocations: 12.03 kB / 1.161 GB, free: 11.31 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/1.04, allocations: 198.1 kB / 1.161 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/1.042, allocations: 401.4 kB / 1.161 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/1.044, allocations: 1.055 MB / 1.163 GB, free: 9.602 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/1.044, allocations: 102.6 kB / 1.163 GB, free: 9.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.044, allocations: 135.9 kB / 1.163 GB, free: 9.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/1.047, allocations: 1.567 MB / 1.164 GB, free: 7.727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/1.047, allocations: 0 / 1.164 GB, free: 7.727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.047, allocations: 56 kB / 1.164 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/1.047, allocations: 54.44 kB / 1.164 GB, free: 7.617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/1.049, allocations: 1.29 MB / 1.166 GB, free: 6.32 MB / 0.92 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.007721/1.057, allocations: 6.473 MB / 1.172 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.058, allocations: 0.9489 MB / 1.173 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004357/1.058, allocations: 161.7 kB / 1.173 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.058, allocations: 51.17 kB / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/1.058, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.005405/1.064, allocations: 2.934 MB / 1.176 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/1.064, allocations: 60.41 kB / 1.176 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.066, allocations: 1.185 MB / 1.177 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/1.066, allocations: 45.69 kB / 1.177 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/1.066, allocations: 0.676 MB / 1.178 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.066, allocations: 307.6 kB / 1.178 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/1.067, allocations: 20 kB / 1.178 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.067, allocations: 345.9 kB / 1.179 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/1.067, allocations: 377.7 kB / 1.179 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008759/1.068, allocations: 0.7074 MB / 1.18 GB, free: 7.281 MB / 0.9356 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/1.08, allocations: 2.363 MB / 1.182 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/1.08, allocations: 4 kB / 1.182 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00213/1.082, allocations: 1.297 MB / 1.183 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.082, allocations: 8 kB / 1.183 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.082, allocations: 8 kB / 1.183 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/1.082, allocations: 139.1 kB / 1.183 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/1.083, allocations: 207.7 kB / 1.184 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/1.087, allocations: 4.863 MB / 1.188 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.088, allocations: 115.7 kB / 1.188 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/1.088, allocations: 47.98 kB / 1.188 GB, free: 13.79 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * 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.0006886/1.089, allocations: 421.3 kB / 1.189 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/1.089, allocations: 138.3 kB / 1.189 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/1.091, allocations: 1.1 MB / 1.19 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/1.091, allocations: 8 kB / 1.19 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/1.091, allocations: 0 / 1.19 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001319/1.092, allocations: 1.05 MB / 1.191 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/1.098, allocations: 3.121 MB / 1.194 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.098, allocations: 8 kB / 1.194 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/1.098, allocations: 159.7 kB / 1.194 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/1.099, allocations: 122.8 kB / 1.194 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/1.099, allocations: 27.98 kB / 1.194 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/1.103, allocations: 4.859 MB / 1.199 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.103, allocations: 7.938 kB / 1.199 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/1.105, allocations: 2.081 MB / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006541/1.106, allocations: 323.2 kB / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/1.106, allocations: 24 kB / 1.202 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009218/1.107, allocations: 79.78 kB / 1.202 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.107, allocations: 80.25 kB / 1.202 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/1.107, allocations: 39.98 kB / 1.202 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001141/1.108, allocations: 0.8343 MB / 1.203 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/1.108, allocations: 0 / 1.203 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001492/1.11, allocations: 404 kB / 1.203 GB, free: 13.86 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.003397/1.113, allocations: 4.356 MB / 1.207 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.115, allocations: 1.262 MB / 1.208 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.115, allocations: 8.109 kB / 1.208 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008809/1.116, allocations: 0.7777 MB / 1.209 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/1.12, allocations: 0.8457 MB / 1.21 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.137, allocations: 14.44 MB / 1.224 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.138, allocations: 1.382 MB / 1.225 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001647/1.14, allocations: 360.8 kB / 1.226 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/1.14, allocations: 0.55 MB / 1.226 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of SimCode: time 1.172e-06/1.14, allocations: 0 / 1.226 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5954/1.736, allocations: 42.69 MB / 1.268 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.736, allocations: 229.8 kB / 1.268 GB, free: 268.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.685, allocations: 4 kB / 1.268 GB, free: 268.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat does not exist to compare? outputFormat=mat