Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001133, allocations: 113.8 kB / 18.46 MB, free: 4.594 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.001192/0.001192, allocations: 185.9 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2072/0.2072, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3386, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.06972/0.4084, allocations: 71.9 MB / 0.5898 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03427/0.4427, allocations: 28.62 MB / 0.6177 GB, free: 7.246 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.4444, allocations: 31.81 kB / 0.6178 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.447, allocations: 0.858 MB / 0.6186 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.4631, allocations: 5.877 MB / 0.6244 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.4752, allocations: 4.531 MB / 0.6288 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005555/0.4808, allocations: 3.786 MB / 0.6325 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.4828, allocations: 1.002 MB / 0.6335 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007489/0.4903, allocations: 3.178 MB / 0.6366 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.4924, allocations: 1.156 MB / 0.6377 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.493, allocations: 140 kB / 0.6378 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.5071, allocations: 7.134 MB / 0.6448 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008018/0.508, allocations: 490.6 kB / 0.6453 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.5096, allocations: 0.8322 MB / 0.6461 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.5231, allocations: 5.918 MB / 0.6518 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5231, allocations: 4 kB / 0.6518 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5231, allocations: 0 / 0.6518 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.336e-05/0.5232, allocations: 0 / 0.6518 GB, free: 4.223 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: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.006759/0.53, allocations: 2.463 MB / 0.6543 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.53, allocations: 8.031 kB / 0.6543 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006046/0.5361, allocations: 0.7376 MB / 0.655 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.5379, allocations: 0.9128 MB / 0.6559 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.5381, allocations: 237.6 kB / 0.6561 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.5384, allocations: 128 kB / 0.6562 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005741/0.5442, allocations: 2.232 MB / 0.6584 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.5442, allocations: 7.938 kB / 0.6584 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.5444, allocations: 67.98 kB / 0.6585 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.5445, allocations: 46.09 kB / 0.6585 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005403/0.5499, allocations: 1.975 MB / 0.6604 GB, free: 11.09 MB / 0.5137 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.01535/0.5653, allocations: 10.82 MB / 0.671 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/0.5695, allocations: 1.211 MB / 0.6722 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.5707, allocations: 0.4923 MB / 0.6727 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.5719, allocations: 0.6947 MB / 0.6734 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.572, allocations: 43.56 kB / 0.6734 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007102/0.5727, allocations: 111.1 kB / 0.6735 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=88): time 4.458e-06/0.5727, allocations: 0 / 0.6735 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96): time 0.01438/0.5871, allocations: 3.998 MB / 0.6774 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.5873, allocations: 167.2 kB / 0.6776 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.589, allocations: 0.9943 MB / 0.6785 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.5891, allocations: 49.64 kB / 0.6786 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/0.5897, allocations: 0.6713 MB / 0.6792 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.5901, allocations: 368.9 kB / 0.6796 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.5906, allocations: 307.4 kB / 0.6799 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5907, allocations: 301.1 kB / 0.6802 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.592, allocations: 0.5005 MB / 0.6807 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.594, allocations: 1.14 MB / 0.6818 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.5972, allocations: 1.705 MB / 0.6834 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.5972, allocations: 8 kB / 0.6834 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003983/0.6012, allocations: 1.795 MB / 0.6852 GB, free: 104 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.6012, allocations: 12.19 kB / 0.6852 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.6013, allocations: 24 kB / 0.6852 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.6018, allocations: 125.6 kB / 0.6854 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.6034, allocations: 411.3 kB / 0.6857 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.6043, allocations: 1.202 MB / 0.6869 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.6056, allocations: 92.12 kB / 0.687 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.6058, allocations: 87.98 kB / 0.6871 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001684/0.6075, allocations: 0.7341 MB / 0.6878 GB, free: 13.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00174/0.6092, allocations: 1.129 MB / 0.6889 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003135/0.6124, allocations: 1.69 MB / 0.6906 GB, free: 9.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.092e-05/0.6124, allocations: 4 kB / 0.6906 GB, free: 9.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.0041/0.6165, allocations: 1.78 MB / 0.6923 GB, free: 8.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.6166, allocations: 15.94 kB / 0.6923 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.6166, allocations: 20 kB / 0.6923 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.6171, allocations: 125.6 kB / 0.6925 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.6186, allocations: 411.5 kB / 0.6928 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009348/0.6195, allocations: 1.202 MB / 0.694 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.6209, allocations: 87.94 kB / 0.6941 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.621, allocations: 87.98 kB / 0.6942 GB, free: 6.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,source2.medium.phase,volume2.heatTransfer.states[1].phase,source1.medium.phase,volume1.heatTransfer.states[1].phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005008/0.6215, allocations: 305.8 kB / 0.6945 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.6219, allocations: 135.1 kB / 0.6946 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00686/0.6288, allocations: 4.967 MB / 0.6995 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.6288, allocations: 3.984 kB / 0.6995 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6288, allocations: 0 / 0.6995 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006736/0.6295, allocations: 414.8 kB / 0.6999 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.6298, allocations: 59.61 kB / 0.6999 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6309, allocations: 107.9 kB / 0.7 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.6312, allocations: 88.88 kB / 0.7001 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004912/0.6361, allocations: 2.684 MB / 0.7027 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005853/0.642, allocations: 3.89 MB / 0.7065 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001672/0.6436, allocations: 1.216 MB / 0.7077 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00131/0.645, allocations: 0.8511 MB / 0.7085 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of Backend: time 2.61e-07/0.645, allocations: 0 / 0.7085 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01137/0.6564, allocations: 3.371 MB / 0.7118 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of SimCode: time 0.2586/0.915, allocations: 4.101 MB / 0.7158 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.079/0.994, allocations: 66.3 MB / 0.7806 GB, free: 127.9 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)