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.001586/0.001586, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 187.9 kB / 16.62 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.639/1.639, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001502/0.001502, allocations: 81.81 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2349, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7104/0.9453, allocations: 214.6 MB / 0.9932 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.9751, allocations: 21.3 MB / 1.014 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.9779, allocations: 49.28 kB / 1.014 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.9804, allocations: 0.7372 MB / 1.015 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.9916, allocations: 4.232 MB / 1.019 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.9948, allocations: 1.06 MB / 1.02 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005455/1, allocations: 3.879 MB / 1.024 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/1.003, allocations: 1.568 MB / 1.025 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/1.007, allocations: 1.616 MB / 1.027 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003948/1.011, allocations: 1.546 MB / 1.028 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006548/1.012, allocations: 160.5 kB / 1.029 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004578/1.016, allocations: 1.762 MB / 1.03 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/1.018, allocations: 0.7463 MB / 1.031 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002423/1.02, allocations: 0.9509 MB / 1.032 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005847/1.026, allocations: 2.885 MB / 1.035 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.026, allocations: 0 / 1.035 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.409e-05/1.026, allocations: 0 / 1.035 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001069/1.026, allocations: 3.938 kB / 1.035 GB, free: 3.273 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.005234/1.031, allocations: 2.025 MB / 1.037 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.031, allocations: 9.594 kB / 1.037 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005047/1.032, allocations: 204.8 kB / 1.037 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/1.035, allocations: 380.9 kB / 1.037 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/1.037, allocations: 1.137 MB / 1.038 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/1.037, allocations: 102 kB / 1.038 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/1.038, allocations: 134 kB / 1.039 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/1.041, allocations: 1.59 MB / 1.04 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/1.041, allocations: 0 / 1.04 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.041, allocations: 53.03 kB / 1.04 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/1.041, allocations: 51.28 kB / 1.04 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/1.044, allocations: 1.29 MB / 1.041 GB, free: 14.88 MB / 0.7637 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.008874/1.052, allocations: 6.482 MB / 1.048 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/1.054, allocations: 0.7928 MB / 1.049 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/1.054, allocations: 430.5 kB / 1.049 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007133/1.055, allocations: 417.5 kB / 1.049 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/1.055, allocations: 39.22 kB / 1.049 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/1.055, allocations: 0 / 1.049 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002969/1.058, allocations: 1.544 MB / 1.051 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/1.058, allocations: 60.06 kB / 1.051 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/1.06, allocations: 1.262 MB / 1.052 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/1.06, allocations: 45.7 kB / 1.052 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005391/1.06, allocations: 0.6953 MB / 1.053 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/1.061, allocations: 264.2 kB / 1.053 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/1.061, allocations: 190.5 kB / 1.053 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.061, allocations: 345.9 kB / 1.054 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/1.062, allocations: 357.7 kB / 1.054 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/1.063, allocations: 0.7193 MB / 1.055 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/1.064, allocations: 1.052 MB / 1.056 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.064, allocations: 4 kB / 1.056 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002133/1.066, allocations: 1.246 MB / 1.057 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.066, allocations: 8 kB / 1.057 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.066, allocations: 12.86 kB / 1.057 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/1.066, allocations: 135 kB / 1.057 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/1.067, allocations: 203.7 kB / 1.057 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/1.071, allocations: 5.382 MB / 1.063 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.073, allocations: 146.6 kB / 1.063 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.073, allocations: 44 kB / 1.063 GB, free: 7.801 MB / 0.7794 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.0007415/1.074, allocations: 429.9 kB / 1.063 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/1.074, allocations: 138.3 kB / 1.063 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.076, allocations: 1.056 MB / 1.064 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.076, allocations: 11.94 kB / 1.064 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/1.076, allocations: 0 / 1.064 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/1.077, allocations: 0.931 MB / 1.065 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/1.081, allocations: 2.395 MB / 1.068 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.081, allocations: 4 kB / 1.068 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/1.082, allocations: 143.7 kB / 1.068 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/1.082, allocations: 118.5 kB / 1.068 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/1.082, allocations: 20 kB / 1.068 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004239/1.086, allocations: 5.371 MB / 1.073 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.086, allocations: 0 / 1.073 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.088, allocations: 1.543 MB / 1.075 GB, free: 10.96 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007719/1.089, allocations: 315.1 kB / 1.075 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/1.09, allocations: 16 kB / 1.075 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/1.09, allocations: 19.98 kB / 1.075 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.091, allocations: 68.36 kB / 1.075 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/1.091, allocations: 28 kB / 1.075 GB, free: 10.51 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001375/1.092, allocations: 0.8702 MB / 1.076 GB, free: 9.637 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/1.092, allocations: 0 / 1.076 GB, free: 9.637 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001698/1.094, allocations: 455.2 kB / 1.076 GB, free: 9.191 MB / 0.795 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.002822/1.097, allocations: 2.207 MB / 1.079 GB, free: 6.93 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.099, allocations: 1.219 MB / 1.08 GB, free: 5.672 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.099, allocations: 0 / 1.08 GB, free: 5.672 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/1.099, allocations: 0.7462 MB / 1.08 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/1.103, allocations: 0.8694 MB / 1.081 GB, free: 4.031 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.12, allocations: 10.87 MB / 1.092 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.121, allocations: 1.351 MB / 1.093 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001486/1.122, allocations: 344.5 kB / 1.094 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00086/1.123, allocations: 0.5462 MB / 1.094 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of SimCode: time 1.192e-06/1.123, allocations: 0 / 1.094 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09097/1.214, allocations: 42.41 MB / 1.136 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.98, allocations: 19.44 kB / 1.136 GB, free: 12.62 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)