Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [: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 3.2.1+maint.om/package.mo): time 0.005035/0.005035, allocations: 175.5 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.573/1.573, allocations: 170.6 MB / 178.4 MB, free: 15.71 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00202/0.00202, allocations: 103.9 kB / 217.7 MB, free: 8.492 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2027/0.2027, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.051e-05, allocations: 1.469 kB / 349.5 MB, free: 37.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1432, allocations: 48.71 MB / 398.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.845/5.989, allocations: 2.485 GB / 2.874 GB, free: 26.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/5.989, allocations: 90.33 kB / 2.874 GB, free: 26.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.454/9.443, allocations: 0.7779 GB / 3.652 GB, free: 34.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002244/9.443, allocations: 47.73 kB / 3.652 GB, free: 34.86 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01414/9.457, allocations: 2.935 MB / 3.655 GB, free: 33.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/9.458, allocations: 14.22 kB / 3.655 GB, free: 33.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008241/9.466, allocations: 0.8307 MB / 3.656 GB, free: 33.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004261/9.47, allocations: 1.157 MB / 3.657 GB, free: 33.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005489/9.471, allocations: 398.6 kB / 3.657 GB, free: 32.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008786/9.472, allocations: 97.56 kB / 3.657 GB, free: 32.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005121/9.477, allocations: 1.905 MB / 3.659 GB, free: 32.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007065/9.484, allocations: 2.399 MB / 3.662 GB, free: 31.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/9.484, allocations: 11.81 kB / 3.662 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006351/9.485, allocations: 11.66 kB / 3.662 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/9.485, allocations: 86.39 kB / 3.662 GB, free: 31.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08511/9.57, allocations: 34.75 MB / 3.696 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/9.571, allocations: 452 kB / 3.696 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/9.571, allocations: 354.8 kB / 3.696 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07105/9.642, allocations: 23.35 MB / 3.719 GB, free: 16.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.458e-05/9.642, allocations: 55.34 kB / 3.719 GB, free: 16.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 3.887e-06/9.642, allocations: 0 / 3.719 GB, free: 16.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.01088/9.653, allocations: 3.26 MB / 3.723 GB, free: 14.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/9.654, allocations: 170.5 kB / 3.723 GB, free: 13.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/9.655, allocations: 1.009 MB / 3.724 GB, free: 12.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/9.655, allocations: 25.7 kB / 3.724 GB, free: 12.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/9.656, allocations: 0.8886 MB / 3.725 GB, free: 12.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/9.657, allocations: 381.1 kB / 3.725 GB, free: 11.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/9.657, allocations: 3.938 kB / 3.725 GB, free: 11.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002693/9.657, allocations: 452.9 kB / 3.725 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/9.658, allocations: 0.5298 MB / 3.726 GB, free: 10.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/9.66, allocations: 1.807 MB / 3.728 GB, free: 8.504 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/9.662, allocations: 0.9014 MB / 3.729 GB, free: 7.738 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/9.662, allocations: 16 kB / 3.729 GB, free: 7.723 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007026/9.669, allocations: 2.836 MB / 3.731 GB, free: 5.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/9.669, allocations: 4.938 kB / 3.731 GB, free: 5.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.103e-05/9.669, allocations: 44 kB / 3.731 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/9.67, allocations: 404.2 kB / 3.732 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/9.672, allocations: 0.5225 MB / 3.732 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/9.675, allocations: 2.835 MB / 3.735 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/9.677, allocations: 162.4 kB / 3.735 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/9.678, allocations: 143.9 kB / 3.735 GB, free: 1.367 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005129/9.678, allocations: 245 kB / 3.736 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/9.68, allocations: 0.5838 MB / 3.736 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.335/10.02, allocations: 4.263 MB / 3.74 GB, free: 81.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/10.02, allocations: 38.8 kB / 3.74 GB, free: 81.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/10.02, allocations: 6.922 kB / 3.74 GB, free: 81.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/10.02, allocations: 7.641 kB / 3.74 GB, free: 81.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008734/10.02, allocations: 6.003 MB / 3.746 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/10.02, allocations: 3.469 kB / 3.746 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/10.02, allocations: 187 kB / 3.746 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009672/10.03, allocations: 389.3 kB / 3.747 GB, free: 80.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/10.03, allocations: 22.17 kB / 3.747 GB, free: 80.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/10.03, allocations: 2.926 MB / 3.75 GB, free: 78.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/10.03, allocations: 3.25 kB / 3.75 GB, free: 78.45 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007643/10.04, allocations: 4.717 MB / 3.754 GB, free: 77.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/10.04, allocations: 418.1 kB / 3.755 GB, free: 77.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/10.04, allocations: 13 kB / 3.755 GB, free: 77.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/10.04, allocations: 97.7 kB / 3.755 GB, free: 77.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/10.04, allocations: 97.78 kB / 3.755 GB, free: 77.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/10.04, allocations: 55.06 kB / 3.755 GB, free: 77.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001339/10.04, allocations: 0.7152 MB / 3.756 GB, free: 77.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00893/10.05, allocations: 1.356 MB / 3.757 GB, free: 77.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,source1.medium.phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0112/10.06, allocations: 2.268 MB / 3.759 GB, free: 77.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005161/10.07, allocations: 2.428 MB / 3.762 GB, free: 77.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/10.07, allocations: 0 / 3.762 GB, free: 77.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/10.07, allocations: 1.816 MB / 3.763 GB, free: 77.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/10.07, allocations: 0.5441 MB / 3.764 GB, free: 77.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.723/10.79, allocations: 181.3 MB / 3.941 GB, free: 80.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/10.8, allocations: 1.759 MB / 3.943 GB, free: 79.82 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/10.8, allocations: 0 / 3.943 GB, free: 79.82 MB / 474.7 MB Notification: Performance of Templates: time 0.09638/10.89, allocations: 55.07 MB / 3.996 GB, free: 77.48 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)