Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7046/0.7046, allocations: 127.4 MB / 134.6 MB, free: 4.125 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 185.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 97.89 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.33e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1935, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/4.875, allocations: 2.169 GB / 2.79 GB, free: 27.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/4.875, allocations: 87.94 kB / 2.79 GB, free: 27.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.026/9.902, allocations: 1.278 GB / 4.068 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001266/9.902, allocations: 44.3 kB / 4.068 GB, free: 79.96 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004733/9.906, allocations: 1.861 MB / 4.07 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/9.907, allocations: 9.375 kB / 4.07 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/9.909, allocations: 388.5 kB / 4.07 GB, free: 79.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/9.911, allocations: 1.22 MB / 4.072 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/9.911, allocations: 46.75 kB / 4.072 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/9.912, allocations: 91.19 kB / 4.072 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002011/9.914, allocations: 1.187 MB / 4.073 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/9.916, allocations: 1.392 MB / 4.074 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/9.916, allocations: 5.25 kB / 4.074 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/9.916, allocations: 6.625 kB / 4.074 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.149e-05/9.916, allocations: 50.25 kB / 4.074 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008478/9.925, allocations: 6.548 MB / 4.081 GB, free: 75.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/9.925, allocations: 0.6005 MB / 4.081 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/9.926, allocations: 381 kB / 4.082 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003208/9.929, allocations: 1.866 MB / 4.083 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/9.929, allocations: 48.27 kB / 4.083 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 2.915e-06/9.929, allocations: 0 / 4.083 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002236/9.931, allocations: 0.9481 MB / 4.084 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/9.931, allocations: 58.91 kB / 4.084 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/9.933, allocations: 0.817 MB / 4.085 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.561e-05/9.933, allocations: 32.17 kB / 4.085 GB, free: 74.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/9.933, allocations: 0.6252 MB / 4.086 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/9.933, allocations: 237.3 kB / 4.086 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/9.933, allocations: 0 / 4.086 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000115/9.934, allocations: 350.2 kB / 4.086 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/9.934, allocations: 333.3 kB / 4.087 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/9.935, allocations: 0.8667 MB / 4.088 GB, free: 72.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/9.936, allocations: 0.5902 MB / 4.088 GB, free: 72.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/9.936, allocations: 3.312 kB / 4.088 GB, free: 72.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002088/9.938, allocations: 1.34 MB / 4.089 GB, free: 72.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/9.938, allocations: 3.688 kB / 4.089 GB, free: 72.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/9.938, allocations: 19.81 kB / 4.089 GB, free: 72.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/9.938, allocations: 138.1 kB / 4.09 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/9.939, allocations: 243.1 kB / 4.09 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/9.942, allocations: 4.511 MB / 4.094 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/9.944, allocations: 172.1 kB / 4.094 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/9.944, allocations: 58.84 kB / 4.094 GB, free: 68.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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.0003106/9.945, allocations: 151.3 kB / 4.095 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/9.945, allocations: 117 kB / 4.095 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/9.947, allocations: 0.9645 MB / 4.096 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/9.947, allocations: 3.469 kB / 4.096 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/9.947, allocations: 7.312 kB / 4.096 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/9.948, allocations: 0.967 MB / 4.097 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/9.952, allocations: 2.165 MB / 4.099 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/9.952, allocations: 0 / 4.099 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/9.953, allocations: 128.9 kB / 4.099 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/9.953, allocations: 120.9 kB / 4.099 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/9.953, allocations: 11.41 kB / 4.099 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/9.957, allocations: 4.481 MB / 4.103 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/9.957, allocations: 0 / 4.103 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002568/9.959, allocations: 1.559 MB / 4.105 GB, free: 63.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008091/9.96, allocations: 295.1 kB / 4.105 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/9.96, allocations: 3.938 kB / 4.105 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009518/9.961, allocations: 59.08 kB / 4.105 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/9.961, allocations: 38.12 kB / 4.105 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/9.961, allocations: 31.55 kB / 4.105 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001032/9.962, allocations: 0.5982 MB / 4.106 GB, free: 63.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003276/9.966, allocations: 0.6025 MB / 4.106 GB, free: 63.31 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.005939/9.972, allocations: 2.735 MB / 4.109 GB, free: 62.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003111/9.975, allocations: 1.136 MB / 4.11 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/9.975, allocations: 4.938 kB / 4.11 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/9.976, allocations: 0.6556 MB / 4.111 GB, free: 61.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/9.979, allocations: 0.5702 MB / 4.111 GB, free: 61.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/9.985, allocations: 2.056 MB / 4.113 GB, free: 61.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/9.987, allocations: 1.484 MB / 4.115 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/9.987, allocations: 0 / 4.115 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.06364/10.05, allocations: 36.28 MB / 4.15 GB, free: 59.8 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)