Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_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.0008145/0.0008147, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005753/0.005753, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006037/0.0006038, allocations: 15.38 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2232, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.652/0.8752, allocations: 209.6 MB / 0.9926 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.897, allocations: 21.17 MB / 1.013 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.899, allocations: 40.41 kB / 1.013 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.9012, allocations: 0.6235 MB / 1.014 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.9129, allocations: 3.967 MB / 1.018 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.9161, allocations: 0.9603 MB / 1.019 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006124/0.9222, allocations: 5.334 MB / 1.024 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.9243, allocations: 1.294 MB / 1.025 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.9274, allocations: 1.387 MB / 1.027 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.9307, allocations: 1.535 MB / 1.028 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002775/0.931, allocations: 71.88 kB / 1.028 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.9351, allocations: 2.01 MB / 1.03 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007848/0.9359, allocations: 0.6486 MB / 1.031 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.9372, allocations: 0.8542 MB / 1.032 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.9412, allocations: 2.871 MB / 1.034 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9412, allocations: 0 / 1.034 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9412, allocations: 0 / 1.034 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.171e-05/0.9413, allocations: 0 / 1.034 GB, free: 9.691 MB / 0.7481 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.002774/0.9441, allocations: 1.704 MB / 1.036 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.9441, allocations: 7.875 kB / 1.036 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.9444, allocations: 195.5 kB / 1.036 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.9464, allocations: 372 kB / 1.037 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.9481, allocations: 1.087 MB / 1.038 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.9482, allocations: 102.1 kB / 1.038 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.9484, allocations: 141.8 kB / 1.038 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.9509, allocations: 1.576 MB / 1.039 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.9509, allocations: 7.938 kB / 1.039 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.951, allocations: 54.06 kB / 1.039 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.129e-05/0.9511, allocations: 57.88 kB / 1.04 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.9533, allocations: 1.285 MB / 1.041 GB, free: 5.57 MB / 0.7481 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.008711/0.9621, allocations: 6.503 MB / 1.047 GB, free: 156 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.9632, allocations: 0.7879 MB / 1.048 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.9638, allocations: 426.6 kB / 1.048 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/0.9646, allocations: 431 kB / 1.049 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.9646, allocations: 43.22 kB / 1.049 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.825e-06/0.9646, allocations: 0 / 1.049 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002926/0.9676, allocations: 1.544 MB / 1.05 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.9676, allocations: 56.06 kB / 1.05 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.9692, allocations: 1.266 MB / 1.052 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/0.9693, allocations: 41.7 kB / 1.052 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/0.9698, allocations: 0.7016 MB / 1.052 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.9701, allocations: 258.5 kB / 1.053 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.9702, allocations: 85.67 kB / 1.053 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9703, allocations: 345.9 kB / 1.053 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.9709, allocations: 349.8 kB / 1.053 GB, free: 9.738 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/0.9717, allocations: 0.7231 MB / 1.054 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.973, allocations: 1.053 MB / 1.055 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.973, allocations: 4 kB / 1.055 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001951/0.975, allocations: 1.251 MB / 1.056 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.975, allocations: 15.94 kB / 1.056 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.975, allocations: 8 kB / 1.056 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.9753, allocations: 142.4 kB / 1.056 GB, free: 6.234 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/0.9761, allocations: 195.7 kB / 1.057 GB, free: 6.043 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.98, allocations: 4.838 MB / 1.061 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.9815, allocations: 177.3 kB / 1.062 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.9816, allocations: 47.98 kB / 1.062 GB, free: 0.5898 MB / 0.7637 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.0007103/0.9823, allocations: 429.2 kB / 1.062 GB, free: 164 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.9825, allocations: 150.2 kB / 1.062 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.9842, allocations: 1.048 MB / 1.063 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.9842, allocations: 4 kB / 1.063 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.9842, allocations: 0 / 1.063 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.9854, allocations: 0.9426 MB / 1.064 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.9888, allocations: 2.395 MB / 1.066 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9888, allocations: 0 / 1.066 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.9895, allocations: 135.8 kB / 1.067 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.9898, allocations: 127 kB / 1.067 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.9898, allocations: 23.98 kB / 1.067 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.9936, allocations: 4.831 MB / 1.071 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.9936, allocations: 0 / 1.071 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.9958, allocations: 1.539 MB / 1.073 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.9964, allocations: 315.2 kB / 1.073 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.9966, allocations: 20.11 kB / 1.073 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008451/0.9974, allocations: 67.8 kB / 1.073 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.9976, allocations: 56.38 kB / 1.073 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.9976, allocations: 31.98 kB / 1.073 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001161/0.9988, allocations: 0.878 MB / 1.074 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9988, allocations: 0 / 1.074 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001492/1, allocations: 447.3 kB / 1.075 GB, free: 2.512 MB / 0.7794 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.002621/1.003, allocations: 2.207 MB / 1.077 GB, free: 264 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001759/1.005, allocations: 1.199 MB / 1.078 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.005, allocations: 8.25 kB / 1.078 GB, free: 15.01 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007975/1.006, allocations: 0.7319 MB / 1.079 GB, free: 14.24 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/1.01, allocations: 0.8409 MB / 1.08 GB, free: 13.41 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.029, allocations: 12.3 MB / 1.092 GB, free: 460 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.03, allocations: 1.343 MB / 1.093 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001587/1.032, allocations: 352.6 kB / 1.093 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/1.032, allocations: 0.5501 MB / 1.094 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/1.032, allocations: 0 / 1.094 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07896/1.111, allocations: 40.67 MB / 1.133 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.112, allocations: 248.5 kB / 1.134 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/4.055, allocations: 7.938 kB / 1.134 GB, free: 5.82 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)