Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.205/2.205, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 196.5 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 113.7 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 52.7 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2859, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2076/0.4935, allocations: 212.4 MB / 1.426 GB, free: 88 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.6514/1.145, allocations: 21.49 MB / 1.446 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/1.148, allocations: 45.84 kB / 1.447 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/1.151, allocations: 0.617 MB / 1.447 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/1.164, allocations: 3.988 MB / 1.451 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003518/1.167, allocations: 0.9598 MB / 1.452 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.009505/1.177, allocations: 5.398 MB / 1.457 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/1.18, allocations: 1.325 MB / 1.459 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/1.185, allocations: 1.451 MB / 1.46 GB, free: 1.418 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005051/1.19, allocations: 1.599 MB / 1.462 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0009242/1.191, allocations: 94.39 kB / 1.462 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007324/1.198, allocations: 2.096 MB / 1.464 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002293/1.2, allocations: 0.6747 MB / 1.464 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003217/1.204, allocations: 0.8795 MB / 1.465 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005871/1.21, allocations: 2.963 MB / 1.468 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.21, allocations: 0 / 1.468 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.032e-06/1.21, allocations: 0 / 1.468 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001268/1.21, allocations: 3.469 kB / 1.468 GB, free: 1.09 MB / 0.9167 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.004923/1.215, allocations: 2.033 MB / 1.47 GB, free: 16.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.215, allocations: 17.2 kB / 1.47 GB, free: 16.09 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/1.217, allocations: 402.1 kB / 1.47 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/1.219, allocations: 1.093 MB / 1.472 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/1.219, allocations: 102.6 kB / 1.472 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/1.219, allocations: 140.2 kB / 1.472 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/1.221, allocations: 1.587 MB / 1.473 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/1.221, allocations: 2.906 kB / 1.473 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.222, allocations: 55.53 kB / 1.473 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/1.222, allocations: 51.17 kB / 1.473 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/1.223, allocations: 1.298 MB / 1.475 GB, free: 15.34 MB / 0.9323 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.007938/1.231, allocations: 6.483 MB / 1.481 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/1.233, allocations: 0.9435 MB / 1.482 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/1.234, allocations: 483.7 kB / 1.482 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006935/1.234, allocations: 413.7 kB / 1.483 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.234, allocations: 40.11 kB / 1.483 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=82): time 3.596e-06/1.234, allocations: 0 / 1.483 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84): time 0.005659/1.24, allocations: 2.943 MB / 1.486 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/1.24, allocations: 64.83 kB / 1.486 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/1.242, allocations: 1.196 MB / 1.487 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/1.242, allocations: 43.17 kB / 1.487 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/1.243, allocations: 0.6767 MB / 1.488 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/1.243, allocations: 301.9 kB / 1.488 GB, free: 9.977 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/1.244, allocations: 195.5 kB / 1.488 GB, free: 9.953 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.244, allocations: 353.9 kB / 1.488 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/1.244, allocations: 376.3 kB / 1.489 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/1.245, allocations: 0.7195 MB / 1.489 GB, free: 9.258 MB / 0.9323 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.01113/1.256, allocations: 2.931 MB / 1.492 GB, free: 8.785 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.256, allocations: 2.406 kB / 1.492 GB, free: 8.785 MB / 0.9323 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001949/1.258, allocations: 1.292 MB / 1.494 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.258, allocations: 12.12 kB / 1.494 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.258, allocations: 10.78 kB / 1.494 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/1.259, allocations: 127.1 kB / 1.494 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/1.259, allocations: 205.6 kB / 1.494 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/1.264, allocations: 4.826 MB / 1.499 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.266, allocations: 112.1 kB / 1.499 GB, free: 4.582 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.266, allocations: 44.95 kB / 1.499 GB, free: 4.582 MB / 0.9323 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (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.0007601/1.267, allocations: 438.6 kB / 1.499 GB, free: 4.453 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.267, allocations: 140.7 kB / 1.499 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/1.269, allocations: 1.096 MB / 1.5 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.269, allocations: 7.031 kB / 1.5 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.269, allocations: 3.938 kB / 1.5 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/1.27, allocations: 1.064 MB / 1.501 GB, free: 3.977 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/1.277, allocations: 3.085 MB / 1.505 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/1.277, allocations: 6.031 kB / 1.505 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/1.278, allocations: 161.6 kB / 1.505 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/1.278, allocations: 133.5 kB / 1.505 GB, free: 3.09 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/1.278, allocations: 25.23 kB / 1.505 GB, free: 3.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/1.282, allocations: 4.81 MB / 1.51 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.282, allocations: 11.88 kB / 1.51 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.297, allocations: 6.485 MB / 1.516 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.298, allocations: 312.6 kB / 1.516 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/1.298, allocations: 24.16 kB / 1.516 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.299, allocations: 81.22 kB / 1.516 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.299, allocations: 78.56 kB / 1.516 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.3, allocations: 35.7 kB / 1.516 GB, free: 13.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00165/1.301, allocations: 0.8456 MB / 1.517 GB, free: 13.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.301, allocations: 0 / 1.517 GB, free: 13.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002795/1.304, allocations: 0.5637 MB / 1.518 GB, free: 13.04 MB / 0.948 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 (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.0007338/1.305, allocations: 253.3 kB / 1.518 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002233/1.307, allocations: 1.271 MB / 1.519 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.307, allocations: 0 / 1.519 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.308, allocations: 0.7906 MB / 1.52 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/1.313, allocations: 0.84 MB / 1.521 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005798/1.319, allocations: 3.882 MB / 1.525 GB, free: 9.195 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.32, allocations: 1.389 MB / 1.526 GB, free: 8.312 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001761/1.322, allocations: 362 kB / 1.526 GB, free: 8.152 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/1.322, allocations: 117.3 kB / 1.526 GB, free: 8.133 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/1.322, allocations: 0 / 1.526 GB, free: 8.133 MB / 0.948 GB Notification: Performance of Templates: time 0.05532/1.377, allocations: 32.25 MB / 1.558 GB, free: 12.78 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)