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/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.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 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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008797/0.008797, allocations: 107.4 kB / 15.74 MB, free: 5.582 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.001483/0.001483, allocations: 196.6 kB / 16.67 MB, free: 5.508 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.71/1.71, allocations: 205.1 MB / 222.5 MB, free: 4.457 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3777/0.3777, allocations: 38 MB / 307.9 MB, free: 10.17 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.1. 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.0015/0.0015, allocations: 71.89 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3654, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07453/0.44, allocations: 75.2 MB / 0.5514 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04122/0.4813, allocations: 33.49 MB / 0.5841 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.4845, allocations: 39.75 kB / 0.5842 GB, free: 6.512 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.4876, allocations: 1.041 MB / 0.5852 GB, free: 5.465 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/TestComponents/Sensors/TestTemperature2.mo:86:3-86:124:writable] Warning: Conditional component 'm_flow_in' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.01845/0.5061, allocations: 5.097 MB / 0.5902 GB, free: 356 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01957/0.5257, allocations: 6.311 MB / 0.5963 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008512/0.5342, allocations: 5.177 MB / 0.6014 GB, free: 4.824 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.5366, allocations: 1.324 MB / 0.6027 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.5473, allocations: 5.313 MB / 0.6079 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.5508, allocations: 1.588 MB / 0.6094 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005852/0.5514, allocations: 196 kB / 0.6096 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01821/0.5696, allocations: 7.215 MB / 0.6166 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.5712, allocations: 0.7246 MB / 0.6173 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.5732, allocations: 1.093 MB / 0.6184 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.592, allocations: 6.688 MB / 0.6249 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.5921, allocations: 0 / 0.6249 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.548e-06/0.5921, allocations: 4 kB / 0.6249 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.577e-05/0.5922, allocations: 4 kB / 0.625 GB, free: 12.56 MB / 0.4981 GB 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.008482/0.6007, allocations: 2.786 MB / 0.6277 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.6007, allocations: 15.89 kB / 0.6277 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/0.6071, allocations: 0.8143 MB / 0.6285 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.6099, allocations: 1.1 MB / 0.6296 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004946/0.6104, allocations: 461 kB / 0.63 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003812/0.6108, allocations: 180 kB / 0.6302 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/0.6182, allocations: 3.123 MB / 0.6332 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.6183, allocations: 11.88 kB / 0.6332 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.6185, allocations: 87.98 kB / 0.6333 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.6187, allocations: 86.64 kB / 0.6334 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007012/0.6257, allocations: 2.695 MB / 0.636 GB, free: 0.7852 MB / 0.4981 GB 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.3121/0.9379, allocations: 15.72 MB / 0.6514 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.9428, allocations: 1.382 MB / 0.6527 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.9442, allocations: 0.535 MB / 0.6533 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.9454, allocations: 0.6991 MB / 0.6539 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.9454, allocations: 47.33 kB / 0.654 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 3.066e-06/0.9454, allocations: 2.812 kB / 0.654 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117): time 0.01774/0.9632, allocations: 5.221 MB / 0.6591 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.9633, allocations: 171.1 kB / 0.6592 GB, free: 119 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.9658, allocations: 1.461 MB / 0.6607 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.966, allocations: 48.58 kB / 0.6607 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006742/0.9666, allocations: 0.9294 MB / 0.6616 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.967, allocations: 420.5 kB / 0.662 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006213/0.9676, allocations: 458 kB / 0.6625 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.9677, allocations: 303.8 kB / 0.6628 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.9694, allocations: 0.6809 MB / 0.6634 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.9719, allocations: 1.929 MB / 0.6653 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.9759, allocations: 2.782 MB / 0.668 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/0.976, allocations: 12.44 kB / 0.668 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00605/0.982, allocations: 2.812 MB / 0.6708 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.9821, allocations: 22.91 kB / 0.6708 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-05/0.9822, allocations: 43.06 kB / 0.6708 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.9836, allocations: 449.4 kB / 0.6713 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.9852, allocations: 0.5164 MB / 0.6718 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.987, allocations: 2.744 MB / 0.6745 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.989, allocations: 146.8 kB / 0.6746 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.9893, allocations: 139.5 kB / 0.6747 GB, free: 108.8 MB / 0.4981 GB 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.0008993/0.9902, allocations: 0.5398 MB / 0.6753 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.9905, allocations: 178 kB / 0.6754 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006754/0.9973, allocations: 4.949 MB / 0.6803 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/0.9974, allocations: 50.31 kB / 0.6803 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.9974, allocations: 3.938 kB / 0.6803 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.9974, allocations: 9.375 kB / 0.6803 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009832/1.007, allocations: 7.096 MB / 0.6872 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.007, allocations: 2.5 kB / 0.6872 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.008, allocations: 264.1 kB / 0.6875 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/1.01, allocations: 431.5 kB / 0.6879 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/1.01, allocations: 35.83 kB / 0.6879 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/1.011, allocations: 2.79 MB / 0.6907 GB, free: 98.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.011, allocations: 3.969 kB / 0.6907 GB, free: 98.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005604/1.017, allocations: 4.086 MB / 0.6947 GB, free: 96.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009729/1.018, allocations: 416.8 kB / 0.6951 GB, free: 95.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/1.018, allocations: 68.81 kB / 0.6951 GB, free: 95.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/1.019, allocations: 89.84 kB / 0.6952 GB, free: 95.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/1.019, allocations: 110.9 kB / 0.6953 GB, free: 95.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/1.019, allocations: 50.8 kB / 0.6954 GB, free: 95.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001424/1.021, allocations: 1.23 MB / 0.6966 GB, free: 94.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.021, allocations: 0 / 0.6966 GB, free: 94.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0046/1.025, allocations: 1.402 MB / 0.6979 GB, free: 94.78 MB / 0.4981 GB 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.004268/1.03, allocations: 1.38 MB / 0.6993 GB, free: 93.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004212/1.034, allocations: 2.243 MB / 0.7015 GB, free: 91.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.034, allocations: 448 / 0.7015 GB, free: 91.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.036, allocations: 1.359 MB / 0.7028 GB, free: 90.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004468/1.041, allocations: 0.9252 MB / 0.7037 GB, free: 89.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/1.046, allocations: 4.649 MB / 0.7082 GB, free: 84.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/1.047, allocations: 1.648 MB / 0.7099 GB, free: 82.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001737/1.049, allocations: 0.9603 MB / 0.7108 GB, free: 81.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/1.049, allocations: 139.4 kB / 0.7109 GB, free: 81.78 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/1.049, allocations: 4 kB / 0.7109 GB, free: 81.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.07963/1.129, allocations: 69.07 MB / 0.7784 GB, free: 12.67 MB / 0.4981 GB 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)