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.001391/0.001391, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001568, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2585/0.2585, allocations: 46.09 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3981, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.07439/0.4725, allocations: 72.13 MB / 0.6021 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03378/0.5063, allocations: 28.63 MB / 0.6301 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.5079, allocations: 35.75 kB / 0.6301 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.5102, allocations: 0.8541 MB / 0.6309 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01694/0.5272, allocations: 5.895 MB / 0.6367 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.5422, allocations: 4.517 MB / 0.6411 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006571/0.5488, allocations: 3.79 MB / 0.6448 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.5507, allocations: 1.014 MB / 0.6458 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008156/0.5589, allocations: 3.158 MB / 0.6489 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.5614, allocations: 1.167 MB / 0.65 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006397/0.562, allocations: 136 kB / 0.6501 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01653/0.5786, allocations: 7.153 MB / 0.6571 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008338/0.5794, allocations: 482.7 kB / 0.6576 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.5812, allocations: 0.8322 MB / 0.6584 GB, free: 15.52 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.5957, allocations: 5.92 MB / 0.6642 GB, free: 9.59 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.5958, allocations: 4 kB / 0.6642 GB, free: 9.586 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5958, allocations: 0 / 0.6642 GB, free: 9.586 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 8.244e-05/0.5959, allocations: 0 / 0.6642 GB, free: 9.586 MB / 0.5138 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.007102/0.603, allocations: 2.39 MB / 0.6665 GB, free: 7.141 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.603, allocations: 8.031 kB / 0.6665 GB, free: 7.133 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006116/0.6092, allocations: 0.7367 MB / 0.6672 GB, free: 6.395 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.6111, allocations: 0.9082 MB / 0.6681 GB, free: 5.445 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.6114, allocations: 241.6 kB / 0.6684 GB, free: 5.184 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.6117, allocations: 120 kB / 0.6685 GB, free: 5.066 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/0.6175, allocations: 2.239 MB / 0.6707 GB, free: 2.645 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.6176, allocations: 11.83 kB / 0.6707 GB, free: 2.633 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.6178, allocations: 64 kB / 0.6707 GB, free: 2.57 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.6179, allocations: 58.02 kB / 0.6708 GB, free: 2.512 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005689/0.6236, allocations: 1.963 MB / 0.6727 GB, free: 0.5391 MB / 0.5138 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.01366/0.6373, allocations: 10.8 MB / 0.6833 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003954/0.6412, allocations: 1.216 MB / 0.6844 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.6424, allocations: 0.4962 MB / 0.6849 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.6436, allocations: 0.6908 MB / 0.6856 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.6436, allocations: 52.02 kB / 0.6857 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005456/0.6442, allocations: 98.72 kB / 0.6857 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=88): time 4.849e-06/0.6442, allocations: 0 / 0.6857 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96): time 0.01351/0.6577, allocations: 3.98 MB / 0.6896 GB, free: 14.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.6579, allocations: 171.2 kB / 0.6898 GB, free: 14.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.6594, allocations: 0.9902 MB / 0.6908 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.6595, allocations: 41.7 kB / 0.6908 GB, free: 12.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005766/0.6601, allocations: 0.6652 MB / 0.6915 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.6604, allocations: 335.3 kB / 0.6918 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.6608, allocations: 311.2 kB / 0.6921 GB, free: 11.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.661, allocations: 301.1 kB / 0.6924 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.6622, allocations: 0.5005 MB / 0.6928 GB, free: 10.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.664, allocations: 1.137 MB / 0.694 GB, free: 9.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.6671, allocations: 1.709 MB / 0.6956 GB, free: 7.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.6672, allocations: 4 kB / 0.6956 GB, free: 7.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00387/0.671, allocations: 1.787 MB / 0.6974 GB, free: 5.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6711, allocations: 12 kB / 0.6974 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/0.6711, allocations: 27.88 kB / 0.6974 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/0.6717, allocations: 133.6 kB / 0.6975 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.6732, allocations: 403.4 kB / 0.6979 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009464/0.6742, allocations: 1.21 MB / 0.6991 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.6754, allocations: 96.12 kB / 0.6992 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.6755, allocations: 87.92 kB / 0.6993 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00167/0.6772, allocations: 0.7302 MB / 0.7 GB, free: 2.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001754/0.679, allocations: 1.137 MB / 0.7011 GB, free: 1.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00301/0.682, allocations: 1.682 MB / 0.7027 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.151e-05/0.682, allocations: 12 kB / 0.7028 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003953/0.686, allocations: 1.767 MB / 0.7045 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.686, allocations: 19.94 kB / 0.7045 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.6861, allocations: 20 kB / 0.7045 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.6865, allocations: 117.7 kB / 0.7046 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.688, allocations: 411.4 kB / 0.705 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009075/0.689, allocations: 1.202 MB / 0.7062 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6902, allocations: 96.12 kB / 0.7063 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.6903, allocations: 83.98 kB / 0.7064 GB, free: 11.71 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.0004967/0.6908, allocations: 297.4 kB / 0.7067 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.6912, allocations: 130.5 kB / 0.7068 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006942/0.6982, allocations: 4.95 MB / 0.7116 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.6982, allocations: 15.91 kB / 0.7116 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.6982, allocations: 0 / 0.7116 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.6989, allocations: 393.8 kB / 0.712 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.6993, allocations: 59.44 kB / 0.7121 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.7003, allocations: 107.9 kB / 0.7122 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.7005, allocations: 88.88 kB / 0.7122 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004789/0.7053, allocations: 2.675 MB / 0.7149 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2619/0.9673, allocations: 3.876 MB / 0.7186 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002066/0.9694, allocations: 1.214 MB / 0.7198 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001247/0.9706, allocations: 0.856 MB / 0.7207 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of Backend: time 8.11e-07/0.9707, allocations: 1.406 kB / 0.7207 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01278/0.9834, allocations: 3.368 MB / 0.724 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006906/0.9904, allocations: 4.039 MB / 0.7279 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07821/1.069, allocations: 66.35 MB / 0.7927 GB, free: 109.1 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)