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.007904/0.007904, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001154/0.001154, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.759/1.759, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3556/0.3556, allocations: 38.01 MB / 307.9 MB, free: 10.08 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.001681/0.001681, allocations: 67.91 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3955, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07613/0.4717, allocations: 75.19 MB / 0.5514 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04553/0.5173, allocations: 33.49 MB / 0.5841 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.5204, allocations: 39.75 kB / 0.5842 GB, free: 6.543 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003962/0.5244, allocations: 1.041 MB / 0.5852 GB, free: 5.496 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.01786/0.5423, allocations: 5.097 MB / 0.5902 GB, free: 388 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02478/0.5671, allocations: 6.303 MB / 0.5963 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009731/0.5768, allocations: 5.173 MB / 0.6014 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.5798, allocations: 1.324 MB / 0.6027 GB, free: 3.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.5941, allocations: 5.284 MB / 0.6078 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003576/0.5977, allocations: 1.576 MB / 0.6094 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.5988, allocations: 196 kB / 0.6095 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01757/0.6164, allocations: 7.223 MB / 0.6166 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.6179, allocations: 0.7207 MB / 0.6173 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002838/0.6208, allocations: 1.089 MB / 0.6184 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.6401, allocations: 6.684 MB / 0.6249 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.6401, allocations: 0 / 0.6249 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.91e-06/0.6402, allocations: 0 / 0.6249 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002006/0.6404, allocations: 4 kB / 0.6249 GB, free: 12.65 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.008233/0.6486, allocations: 2.802 MB / 0.6276 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6487, allocations: 15.89 kB / 0.6276 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/0.6553, allocations: 0.8065 MB / 0.6284 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.6583, allocations: 1.108 MB / 0.6295 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.6587, allocations: 464.9 kB / 0.63 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/0.6591, allocations: 172.1 kB / 0.6301 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007781/0.6669, allocations: 3.131 MB / 0.6332 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-05/0.667, allocations: 19.86 kB / 0.6332 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.6672, allocations: 80 kB / 0.6333 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.6674, allocations: 82.66 kB / 0.6334 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007491/0.6749, allocations: 2.699 MB / 0.636 GB, free: 0.8555 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.3021/0.977, allocations: 15.71 MB / 0.6513 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/0.9816, allocations: 1.389 MB / 0.6527 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.983, allocations: 0.5425 MB / 0.6532 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.9841, allocations: 0.6926 MB / 0.6539 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.9842, allocations: 51.44 kB / 0.6539 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 3.046e-06/0.9842, allocations: 0 / 0.6539 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117): time 0.01715/1.001, allocations: 5.22 MB / 0.659 GB, free: 119 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/1.001, allocations: 169.3 kB / 0.6592 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/1.004, allocations: 1.46 MB / 0.6606 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/1.004, allocations: 48.39 kB / 0.6607 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/1.005, allocations: 0.9388 MB / 0.6616 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/1.005, allocations: 423.3 kB / 0.662 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005641/1.006, allocations: 457.8 kB / 0.6624 GB, free: 117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/1.006, allocations: 304.1 kB / 0.6627 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/1.007, allocations: 0.6805 MB / 0.6634 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/1.01, allocations: 1.923 MB / 0.6653 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/1.014, allocations: 2.783 MB / 0.668 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/1.014, allocations: 12.22 kB / 0.668 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005948/1.02, allocations: 2.818 MB / 0.6707 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/1.02, allocations: 24.03 kB / 0.6708 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-05/1.02, allocations: 41.75 kB / 0.6708 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/1.021, allocations: 440.4 kB / 0.6712 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.023, allocations: 0.5213 MB / 0.6717 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/1.025, allocations: 2.751 MB / 0.6744 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.027, allocations: 134.5 kB / 0.6746 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/1.027, allocations: 137 kB / 0.6747 GB, free: 108.7 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.0009985/1.028, allocations: 0.5449 MB / 0.6752 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.028, allocations: 177.9 kB / 0.6754 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00816/1.037, allocations: 4.951 MB / 0.6802 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.909e-05/1.037, allocations: 50.8 kB / 0.6803 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.037, allocations: 3.938 kB / 0.6803 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.037, allocations: 3.984 kB / 0.6803 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.047, allocations: 7.108 MB / 0.6872 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.047, allocations: 2.625 kB / 0.6872 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.048, allocations: 252.4 kB / 0.6875 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/1.049, allocations: 450 kB / 0.6879 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/1.05, allocations: 31.84 kB / 0.6879 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/1.051, allocations: 2.779 MB / 0.6906 GB, free: 98.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.051, allocations: 0 / 0.6906 GB, free: 98.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/1.057, allocations: 4.09 MB / 0.6946 GB, free: 95.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.058, allocations: 409.1 kB / 0.695 GB, free: 95.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/1.059, allocations: 81.23 kB / 0.6951 GB, free: 95.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/1.06, allocations: 87.89 kB / 0.6952 GB, free: 95.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/1.06, allocations: 104 kB / 0.6953 GB, free: 95.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.51e-05/1.06, allocations: 52.81 kB / 0.6953 GB, free: 95.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001406/1.061, allocations: 1.233 MB / 0.6965 GB, free: 94.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.061, allocations: 0 / 0.6965 GB, free: 94.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004896/1.066, allocations: 1.396 MB / 0.6979 GB, free: 94.65 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.00476/1.071, allocations: 1.38 MB / 0.6992 GB, free: 93.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004471/1.075, allocations: 2.235 MB / 0.7014 GB, free: 91.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.075, allocations: 4.75 kB / 0.7014 GB, free: 91.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/1.078, allocations: 1.353 MB / 0.7028 GB, free: 89.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/1.082, allocations: 0.94 MB / 0.7037 GB, free: 89.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/1.089, allocations: 4.643 MB / 0.7082 GB, free: 84.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/1.09, allocations: 1.656 MB / 0.7098 GB, free: 82.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001935/1.092, allocations: 0.968 MB / 0.7108 GB, free: 81.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/1.092, allocations: 139.4 kB / 0.7109 GB, free: 81.53 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/1.092, allocations: 0 / 0.7109 GB, free: 81.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.08241/1.174, allocations: 68.48 MB / 0.7778 GB, free: 13 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)