Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008782, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00832/0.008321, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.942/1.942, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4306/0.4306, allocations: 39.99 MB / 310.7 MB, free: 9.926 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008432/0.0008434, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1608, allocations: 57.96 MB / 437.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3098/0.4707, allocations: 75.5 MB / 0.5009 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05348/0.5242, allocations: 34.29 MB / 0.5344 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.5274, allocations: 55.12 kB / 0.5344 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.5312, allocations: 0.9274 MB / 0.5353 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01658/0.5478, allocations: 4.292 MB / 0.5395 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02156/0.5694, allocations: 5.581 MB / 0.545 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.5812, allocations: 7.244 MB / 0.5521 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.5839, allocations: 1.147 MB / 0.5532 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/0.5957, allocations: 5.026 MB / 0.5581 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003766/0.5995, allocations: 1.623 MB / 0.5597 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005399/0.6001, allocations: 100 kB / 0.5598 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01653/0.6166, allocations: 7.086 MB / 0.5667 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.6178, allocations: 0.6388 MB / 0.5673 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.6201, allocations: 1.028 MB / 0.5683 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/0.6375, allocations: 6.535 MB / 0.5747 GB, free: 11.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6376, allocations: 0 / 0.5747 GB, free: 11.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6376, allocations: 0 / 0.5747 GB, free: 11.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.884e-05/0.6376, allocations: 0 / 0.5747 GB, free: 11.69 MB / 446.1 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.00625/0.6439, allocations: 2.449 MB / 0.5771 GB, free: 9.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6439, allocations: 12.03 kB / 0.5771 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.6501, allocations: 0.8417 MB / 0.5779 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.6521, allocations: 1.049 MB / 0.5789 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.6526, allocations: 461.1 kB / 0.5794 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.6529, allocations: 175.8 kB / 0.5795 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007454/0.6604, allocations: 3.213 MB / 0.5827 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/0.6605, allocations: 11.88 kB / 0.5827 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.6608, allocations: 80 kB / 0.5828 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.6609, allocations: 82.72 kB / 0.5829 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007593/0.6685, allocations: 2.808 MB / 0.5856 GB, free: 92 kB / 446.1 MB 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.02075/0.6893, allocations: 15.82 MB / 0.601 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/0.694, allocations: 1.476 MB / 0.6025 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.6955, allocations: 0.5766 MB / 0.6031 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.6969, allocations: 0.7142 MB / 0.6037 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.719e-05/0.6971, allocations: 47.56 kB / 0.6038 GB, free: 12.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=101): time 4.298e-06/0.6971, allocations: 0 / 0.6038 GB, free: 12.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=117): time 0.01764/0.7147, allocations: 5.513 MB / 0.6092 GB, free: 6.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7149, allocations: 167.2 kB / 0.6093 GB, free: 6.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.7172, allocations: 1.465 MB / 0.6108 GB, free: 4.969 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.7174, allocations: 49.7 kB / 0.6108 GB, free: 4.914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007592/0.7182, allocations: 0.9283 MB / 0.6117 GB, free: 3.973 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.7186, allocations: 426.1 kB / 0.6121 GB, free: 3.551 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.7189, allocations: 198.3 kB / 0.6123 GB, free: 3.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.719, allocations: 305.1 kB / 0.6126 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.7207, allocations: 0.715 MB / 0.6133 GB, free: 2.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.7232, allocations: 1.973 MB / 0.6152 GB, free: 15.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0044/0.7277, allocations: 2.845 MB / 0.618 GB, free: 12.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.431e-05/0.7277, allocations: 16 kB / 0.618 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006141/0.7339, allocations: 2.886 MB / 0.6208 GB, free: 9.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.734, allocations: 24.97 kB / 0.6209 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.206e-05/0.734, allocations: 51.94 kB / 0.6209 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.7354, allocations: 443.1 kB / 0.6213 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.7372, allocations: 0.5459 MB / 0.6219 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.7394, allocations: 2.74 MB / 0.6245 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.7418, allocations: 227.9 kB / 0.6248 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.7421, allocations: 136 kB / 0.6249 GB, free: 5.113 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.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],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.7433, allocations: 0.5512 MB / 0.6254 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004517/0.7437, allocations: 173.9 kB / 0.6256 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2604/1.004, allocations: 5.07 MB / 0.6306 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/1.004, allocations: 50.14 kB / 0.6306 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/1.004, allocations: 0 / 0.6306 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/1.004, allocations: 6.562 kB / 0.6306 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009482/1.014, allocations: 7.223 MB / 0.6377 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.014, allocations: 9.875 kB / 0.6377 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.015, allocations: 303.1 kB / 0.638 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/1.016, allocations: 435.6 kB / 0.6384 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/1.016, allocations: 31.7 kB / 0.6384 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/1.018, allocations: 2.791 MB / 0.6411 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.018, allocations: 3.406 kB / 0.6411 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005818/1.024, allocations: 4.198 MB / 0.6452 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.025, allocations: 0.5552 MB / 0.6458 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/1.025, allocations: 29.34 kB / 0.6458 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.026, allocations: 152.1 kB / 0.6459 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.026, allocations: 104.2 kB / 0.646 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/1.026, allocations: 48.05 kB / 0.6461 GB, free: 142 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001643/1.028, allocations: 1.238 MB / 0.6473 GB, free: 141.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.028, allocations: 0 / 0.6473 GB, free: 141.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00495/1.033, allocations: 1.402 MB / 0.6487 GB, free: 141.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004275/1.037, allocations: 1.377 MB / 0.65 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004079/1.041, allocations: 2.313 MB / 0.6523 GB, free: 140.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.041, allocations: 448 / 0.6523 GB, free: 140.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/1.044, allocations: 1.39 MB / 0.6536 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/1.049, allocations: 0.9105 MB / 0.6545 GB, free: 139.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/1.056, allocations: 5.721 MB / 0.6601 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.058, allocations: 1.66 MB / 0.6617 GB, free: 135.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002712/1.061, allocations: 0.9594 MB / 0.6627 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.061, allocations: 139.1 kB / 0.6628 GB, free: 135.8 MB / 494.1 MB Notification: Performance of SimCode: time 3.015e-06/1.061, allocations: 0 / 0.6628 GB, free: 135.8 MB / 494.1 MB Notification: Performance of Templates: time 0.08548/1.147, allocations: 65.76 MB / 0.727 GB, free: 87.88 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) Environment - environmentSimulation: