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: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 105.7 kB / 16.36 MB, free: 5.949 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.001133/0.001133, allocations: 194.9 kB / 17.3 MB, free: 5.562 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.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.85/1.85, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001452/0.001452, allocations: 71.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 114.5 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7188/0.9529, allocations: 214.6 MB / 0.9944 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.9768, allocations: 21.29 MB / 1.015 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.9786, allocations: 47.75 kB / 1.015 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.9807, allocations: 0.7376 MB / 1.016 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009873/0.9905, allocations: 4.229 MB / 1.02 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.9933, allocations: 1.064 MB / 1.021 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004957/0.9982, allocations: 3.883 MB / 1.025 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/1.001, allocations: 1.569 MB / 1.026 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/1.004, allocations: 1.615 MB / 1.028 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/1.007, allocations: 1.55 MB / 1.03 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004304/1.008, allocations: 160 kB / 1.03 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/1.012, allocations: 1.773 MB / 1.031 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009183/1.013, allocations: 0.7404 MB / 1.032 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/1.015, allocations: 0.9528 MB / 1.033 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004528/1.019, allocations: 2.89 MB / 1.036 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.019, allocations: 4 kB / 1.036 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/1.019, allocations: 0 / 1.036 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.845e-05/1.019, allocations: 0 / 1.036 GB, free: 8.727 MB / 0.8262 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.003361/1.023, allocations: 2.025 MB / 1.038 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.023, allocations: 12.03 kB / 1.038 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.025, allocations: 373.6 kB / 1.038 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/1.027, allocations: 1.089 MB / 1.039 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/1.027, allocations: 102.5 kB / 1.039 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/1.027, allocations: 139.9 kB / 1.04 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/1.03, allocations: 1.581 MB / 1.041 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/1.03, allocations: 3.938 kB / 1.041 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/1.03, allocations: 56 kB / 1.041 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/1.03, allocations: 50.44 kB / 1.041 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/1.032, allocations: 1.29 MB / 1.042 GB, free: 1.84 MB / 0.8262 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.008357/1.04, allocations: 6.48 MB / 1.049 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.042, allocations: 0.7919 MB / 1.05 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/1.042, allocations: 435.9 kB / 1.05 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007616/1.043, allocations: 413.5 kB / 1.05 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.043, allocations: 39.22 kB / 1.05 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/1.043, allocations: 0 / 1.05 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73): time 0.003099/1.046, allocations: 1.544 MB / 1.052 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/1.046, allocations: 56.06 kB / 1.052 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/1.048, allocations: 1.266 MB / 1.053 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/1.048, allocations: 41.7 kB / 1.053 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005206/1.049, allocations: 0.6992 MB / 1.054 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/1.049, allocations: 260.2 kB / 1.054 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/1.049, allocations: 190.5 kB / 1.054 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.049, allocations: 353.9 kB / 1.055 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/1.05, allocations: 353.8 kB / 1.055 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/1.051, allocations: 0.7154 MB / 1.056 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/1.052, allocations: 1.05 MB / 1.057 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.052, allocations: 4 kB / 1.057 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00209/1.054, allocations: 1.248 MB / 1.058 GB, free: 1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.055, allocations: 8 kB / 1.058 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.055, allocations: 8 kB / 1.058 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/1.055, allocations: 152.1 kB / 1.058 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/1.056, allocations: 199.6 kB / 1.058 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004529/1.06, allocations: 5.377 MB / 1.064 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.062, allocations: 138.5 kB / 1.064 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/1.062, allocations: 44 kB / 1.064 GB, free: 10.67 MB / 0.8575 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.0007275/1.062, allocations: 429.3 kB / 1.064 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/1.063, allocations: 142.4 kB / 1.064 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.064, allocations: 1.055 MB / 1.065 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.064, allocations: 8 kB / 1.065 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/1.064, allocations: 0 / 1.065 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/1.066, allocations: 0.9348 MB / 1.066 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/1.069, allocations: 2.395 MB / 1.069 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.069, allocations: 0 / 1.069 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/1.07, allocations: 139.1 kB / 1.069 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/1.07, allocations: 130.4 kB / 1.069 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/1.07, allocations: 16 kB / 1.069 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/1.074, allocations: 5.367 MB / 1.074 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.074, allocations: 4.031 kB / 1.074 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/1.077, allocations: 1.539 MB / 1.076 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/1.077, allocations: 311.2 kB / 1.076 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.077, allocations: 16 kB / 1.076 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007512/1.078, allocations: 24.17 kB / 1.076 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.078, allocations: 64.36 kB / 1.076 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/1.078, allocations: 27.98 kB / 1.076 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001206/1.08, allocations: 0.878 MB / 1.077 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.08, allocations: 0 / 1.077 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001578/1.081, allocations: 455.2 kB / 1.077 GB, free: 12.07 MB / 0.8731 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.0006399/1.082, allocations: 224.8 kB / 1.077 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.084, allocations: 1.219 MB / 1.079 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.084, allocations: 4 kB / 1.079 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009937/1.085, allocations: 0.7416 MB / 1.079 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/1.089, allocations: 0.8793 MB / 1.08 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/1.093, allocations: 2.673 MB / 1.083 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009474/1.094, allocations: 1.351 MB / 1.084 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001099/1.095, allocations: 342.6 kB / 1.085 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/1.096, allocations: 111.4 kB / 1.085 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of SimCode: time 1.032e-06/1.096, allocations: 4 kB / 1.085 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of Templates: time 0.05087/1.147, allocations: 31.05 MB / 1.115 GB, free: 5.957 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)