Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") [: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.00121/0.001211, allocations: 190.4 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4326/0.4326, allocations: 90.86 MB / 99.07 MB, free: 14.91 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.205/1.205, allocations: 221.4 MB / 342.8 MB, free: 5.395 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.0008977/0.0008977, allocations: 94.17 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.873e-06, allocations: 0 / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3436, allocations: 72.3 MB / 0.5529 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.176/3.52, allocations: 1.891 GB / 2.444 GB, free: 185.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/3.52, allocations: 80.7 kB / 2.444 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.8509/4.371, allocations: 326.3 MB / 2.762 GB, free: 95.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002321/4.371, allocations: 54.95 kB / 2.762 GB, free: 95.01 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004433/4.376, allocations: 2.135 MB / 2.764 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/4.376, allocations: 8.031 kB / 2.764 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/4.38, allocations: 0.5901 MB / 2.765 GB, free: 92.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/4.384, allocations: 2.242 MB / 2.767 GB, free: 89.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/4.384, allocations: 52 kB / 2.767 GB, free: 89.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/4.385, allocations: 96 kB / 2.767 GB, free: 89.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003128/4.388, allocations: 1.88 MB / 2.769 GB, free: 87.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/4.391, allocations: 1.587 MB / 2.771 GB, free: 86.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/4.391, allocations: 0 / 2.771 GB, free: 86.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/4.391, allocations: 11.94 kB / 2.771 GB, free: 86.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/4.391, allocations: 43.94 kB / 2.771 GB, free: 86.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/4.402, allocations: 5.864 MB / 2.777 GB, free: 80.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/4.404, allocations: 1.819 MB / 2.778 GB, free: 78.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/4.405, allocations: 0.6713 MB / 2.779 GB, free: 77.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006562/4.405, allocations: 0.754 MB / 2.78 GB, free: 76.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/4.406, allocations: 0.8543 MB / 2.781 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.457e-06/4.406, allocations: 0 / 2.781 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.003938/4.41, allocations: 1.612 MB / 2.782 GB, free: 74.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/4.41, allocations: 248.6 kB / 2.782 GB, free: 74.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/4.414, allocations: 2.338 MB / 2.785 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/4.414, allocations: 33.69 kB / 2.785 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/4.414, allocations: 0.5729 MB / 2.785 GB, free: 71.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/4.415, allocations: 433.4 kB / 2.786 GB, free: 70.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/4.415, allocations: 0 / 2.786 GB, free: 70.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/4.415, allocations: 361.8 kB / 2.786 GB, free: 70.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/4.416, allocations: 486.5 kB / 2.786 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/4.417, allocations: 0.6826 MB / 2.787 GB, free: 69.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/4.418, allocations: 0.5712 MB / 2.788 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/4.418, allocations: 8 kB / 2.788 GB, free: 68.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003738/4.421, allocations: 1.519 MB / 2.789 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/4.421, allocations: 11.94 kB / 2.789 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/4.421, allocations: 0 / 2.789 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/4.422, allocations: 208.2 kB / 2.789 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/4.424, allocations: 303.6 kB / 2.79 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/4.428, allocations: 6.505 MB / 2.796 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/4.43, allocations: 123.2 kB / 2.796 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/4.43, allocations: 63.97 kB / 2.796 GB, free: 59.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000342/4.43, allocations: 134 kB / 2.796 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/4.431, allocations: 173.8 kB / 2.796 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/4.435, allocations: 2.019 MB / 2.798 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/4.435, allocations: 16 kB / 2.798 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/4.435, allocations: 3.938 kB / 2.798 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/4.435, allocations: 11.88 kB / 2.798 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006804/4.442, allocations: 3.873 MB / 2.802 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/4.442, allocations: 0 / 2.802 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/4.444, allocations: 315.6 kB / 2.803 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009229/4.445, allocations: 208.1 kB / 2.803 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/4.445, allocations: 27.97 kB / 2.803 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/4.449, allocations: 6.539 MB / 2.809 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/4.449, allocations: 4.125 kB / 2.809 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00314/4.452, allocations: 1.721 MB / 2.811 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/4.453, allocations: 0.6545 MB / 2.812 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/4.454, allocations: 3.938 kB / 2.812 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/4.455, allocations: 107.8 kB / 2.812 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/4.456, allocations: 89.08 kB / 2.812 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/4.456, allocations: 83.95 kB / 2.812 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00235/4.458, allocations: 1.815 MB / 2.814 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0024/4.461, allocations: 0.7534 MB / 2.814 GB, free: 39.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002849/4.463, allocations: 1.733 MB / 2.816 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002347/4.466, allocations: 1.71 MB / 2.818 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/4.466, allocations: 4.594 kB / 2.818 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/4.467, allocations: 1.205 MB / 2.819 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/4.469, allocations: 411.4 kB / 2.819 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00719/4.476, allocations: 2.906 MB / 2.822 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/4.479, allocations: 1.863 MB / 2.824 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/4.479, allocations: 4 kB / 2.824 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.2477/4.727, allocations: 38.86 MB / 2.862 GB, free: 173.7 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)