Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 80.11 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3513, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.07991/0.4313, allocations: 72.13 MB / 0.6021 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0358/0.4671, allocations: 28.63 MB / 0.6301 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.4692, allocations: 35.81 kB / 0.6301 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.4722, allocations: 0.858 MB / 0.6309 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01799/0.4902, allocations: 5.862 MB / 0.6367 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0133/0.5035, allocations: 4.504 MB / 0.6411 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005995/0.5095, allocations: 3.789 MB / 0.6448 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.5118, allocations: 1.002 MB / 0.6457 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007922/0.5197, allocations: 3.154 MB / 0.6488 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.5221, allocations: 1.167 MB / 0.65 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006028/0.5227, allocations: 140 kB / 0.6501 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/0.5392, allocations: 7.145 MB / 0.6571 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009631/0.5403, allocations: 478.6 kB / 0.6575 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.5423, allocations: 0.8323 MB / 0.6583 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.556, allocations: 5.916 MB / 0.6641 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.556, allocations: 4 kB / 0.6641 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5561, allocations: 4 kB / 0.6641 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.233e-05/0.5561, allocations: 0 / 0.6641 GB, free: 9.684 MB / 0.5137 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.006729/0.5629, allocations: 2.398 MB / 0.6665 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5629, allocations: 8.031 kB / 0.6665 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005821/0.5688, allocations: 0.7289 MB / 0.6672 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.5712, allocations: 0.912 MB / 0.6681 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.5716, allocations: 237.6 kB / 0.6683 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.572, allocations: 120 kB / 0.6684 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005537/0.5776, allocations: 2.247 MB / 0.6706 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.5776, allocations: 11.84 kB / 0.6706 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.5779, allocations: 56 kB / 0.6707 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-05/0.5779, allocations: 58.08 kB / 0.6707 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.5832, allocations: 1.967 MB / 0.6727 GB, free: 0.6328 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.01306/0.5963, allocations: 10.8 MB / 0.6832 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.6001, allocations: 1.228 MB / 0.6844 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.6012, allocations: 496.1 kB / 0.6849 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.6023, allocations: 0.6947 MB / 0.6855 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.6024, allocations: 51.56 kB / 0.6856 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000539/0.6029, allocations: 106.7 kB / 0.6857 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=88): time 4.429e-06/0.6029, allocations: 0 / 0.6857 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96): time 0.0127/0.6157, allocations: 3.976 MB / 0.6896 GB, free: 14.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.6158, allocations: 167.2 kB / 0.6897 GB, free: 14.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.6171, allocations: 0.9864 MB / 0.6907 GB, free: 13.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.6172, allocations: 45.7 kB / 0.6908 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.6177, allocations: 0.6652 MB / 0.6914 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.6179, allocations: 335.3 kB / 0.6917 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004075/0.6183, allocations: 311.2 kB / 0.692 GB, free: 11.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.6184, allocations: 301.1 kB / 0.6923 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.6196, allocations: 0.5044 MB / 0.6928 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.6212, allocations: 1.136 MB / 0.6939 GB, free: 9.523 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.6239, allocations: 1.705 MB / 0.6956 GB, free: 7.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.6239, allocations: 4 kB / 0.6956 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003662/0.6276, allocations: 1.787 MB / 0.6973 GB, free: 5.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.6277, allocations: 12 kB / 0.6973 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.6277, allocations: 24 kB / 0.6974 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.6282, allocations: 126.1 kB / 0.6975 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.6297, allocations: 415.3 kB / 0.6979 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008131/0.6305, allocations: 1.21 MB / 0.6991 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6317, allocations: 87.94 kB / 0.6991 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.6318, allocations: 83.98 kB / 0.6992 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001527/0.6334, allocations: 0.7381 MB / 0.6999 GB, free: 2.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001563/0.6349, allocations: 1.129 MB / 0.701 GB, free: 1.562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002686/0.6376, allocations: 1.686 MB / 0.7027 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.594e-05/0.6377, allocations: 8 kB / 0.7027 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003559/0.6412, allocations: 1.771 MB / 0.7044 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6413, allocations: 19.94 kB / 0.7044 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.6413, allocations: 20.88 kB / 0.7045 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.6418, allocations: 121.7 kB / 0.7046 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6432, allocations: 407.3 kB / 0.705 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007702/0.6439, allocations: 1.206 MB / 0.7061 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.6451, allocations: 91.94 kB / 0.7062 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.6452, allocations: 88.17 kB / 0.7063 GB, free: 11.8 MB / 0.5606 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.000423/0.6456, allocations: 293.5 kB / 0.7066 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.646, allocations: 130.5 kB / 0.7067 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006414/0.6524, allocations: 4.958 MB / 0.7116 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.6524, allocations: 7.969 kB / 0.7116 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6524, allocations: 4 kB / 0.7116 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.653, allocations: 389.8 kB / 0.7119 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.6533, allocations: 59.44 kB / 0.712 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009741/0.6543, allocations: 111.8 kB / 0.7121 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.6545, allocations: 92.88 kB / 0.7122 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0045/0.659, allocations: 2.668 MB / 0.7148 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2796/0.9387, allocations: 3.888 MB / 0.7186 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001946/0.9407, allocations: 1.212 MB / 0.7198 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001086/0.9417, allocations: 0.8547 MB / 0.7206 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of Backend: time 6.11e-07/0.9418, allocations: 2.312 kB / 0.7206 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009811/0.9516, allocations: 3.37 MB / 0.7239 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005344/0.9569, allocations: 4.039 MB / 0.7279 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.08222/1.039, allocations: 67.29 MB / 0.7936 GB, free: 107.9 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)