Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM") translateModel(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 188.9 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4483/0.4483, allocations: 90.85 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001038, allocations: 85.61 kB / 415.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.826e-06, allocations: 4 kB / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3416, allocations: 72.3 MB / 0.5529 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.396/3.738, allocations: 1.891 GB / 2.444 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/3.738, allocations: 85.78 kB / 2.444 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.144/7.882, allocations: 1.301 GB / 3.745 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001832/7.882, allocations: 47.92 kB / 3.745 GB, free: 12.79 MB / 0.6198 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.005719/7.888, allocations: 1.832 MB / 3.747 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/7.888, allocations: 8.031 kB / 3.747 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/7.891, allocations: 409.5 kB / 3.747 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/7.895, allocations: 1.175 MB / 3.748 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.463e-05/7.895, allocations: 40 kB / 3.748 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005507/7.896, allocations: 84 kB / 3.748 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002693/7.898, allocations: 1.153 MB / 3.749 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/7.901, allocations: 1.336 MB / 3.751 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/7.901, allocations: 7.922 kB / 3.751 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/7.901, allocations: 3.984 kB / 3.751 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/7.901, allocations: 46.45 kB / 3.751 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008424/7.91, allocations: 6.588 MB / 3.757 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/7.911, allocations: 0.8778 MB / 3.758 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006717/7.912, allocations: 447.4 kB / 3.759 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007688/7.913, allocations: 421 kB / 3.759 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/7.913, allocations: 43.16 kB / 3.759 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.076e-06/7.913, allocations: 0 / 3.759 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.007111/7.92, allocations: 2.6 MB / 3.761 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/7.92, allocations: 64.12 kB / 3.762 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/7.921, allocations: 0.7177 MB / 3.762 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/7.922, allocations: 29.7 kB / 3.762 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/7.922, allocations: 0.5258 MB / 3.763 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/7.922, allocations: 287.7 kB / 3.763 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/7.922, allocations: 0 / 3.763 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001365/7.923, allocations: 349.9 kB / 3.763 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/7.923, allocations: 349.9 kB / 3.764 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/7.924, allocations: 0.701 MB / 3.764 GB, free: 7.781 MB / 0.6355 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.003241/7.927, allocations: 1.202 MB / 3.766 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/7.927, allocations: 0 / 3.766 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002576/7.93, allocations: 1.331 MB / 3.767 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/7.93, allocations: 4 kB / 3.767 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/7.93, allocations: 8 kB / 3.767 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004197/7.93, allocations: 150.9 kB / 3.767 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008705/7.931, allocations: 207.7 kB / 3.767 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2787/8.21, allocations: 4.539 MB / 3.772 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/8.212, allocations: 88.86 kB / 3.772 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/8.212, allocations: 51.47 kB / 3.772 GB, free: 116.5 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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 () * 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 (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.0002341/8.212, allocations: 133.9 kB / 3.772 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/8.212, allocations: 120.6 kB / 3.772 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/8.215, allocations: 1.169 MB / 3.773 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/8.215, allocations: 7.75 kB / 3.773 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/8.215, allocations: 3.906 kB / 3.773 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001656/8.216, allocations: 1.161 MB / 3.774 GB, free: 116 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005858/8.222, allocations: 3.005 MB / 3.777 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/8.222, allocations: 9.094 kB / 3.777 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/8.223, allocations: 160.5 kB / 3.777 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003326/8.223, allocations: 139 kB / 3.778 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/8.223, allocations: 10.53 kB / 3.778 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/8.226, allocations: 4.543 MB / 3.782 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/8.226, allocations: 7 kB / 3.782 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002317/8.228, allocations: 2.097 MB / 3.784 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/8.229, allocations: 283.8 kB / 3.784 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/8.229, allocations: 16 kB / 3.784 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008877/8.23, allocations: 60.83 kB / 3.784 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/8.23, allocations: 66.84 kB / 3.784 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/8.23, allocations: 36.45 kB / 3.785 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006823/8.231, allocations: 0.5445 MB / 3.785 GB, free: 110.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0021/8.233, allocations: 0.5293 MB / 3.786 GB, free: 110.6 MB / 0.6355 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 () * 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 (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.00322/8.236, allocations: 2.692 MB / 3.788 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001678/8.238, allocations: 1.176 MB / 3.789 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-05/8.238, allocations: 0 / 3.789 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/8.239, allocations: 0.7177 MB / 3.79 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/8.241, allocations: 0.5897 MB / 3.791 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/8.245, allocations: 2.193 MB / 3.793 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/8.247, allocations: 1.487 MB / 3.794 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/8.247, allocations: 0 / 3.794 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.05258/8.299, allocations: 36.41 MB / 3.83 GB, free: 107.1 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)