Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 78.53 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1279, allocations: 62.45 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3097/0.4376, allocations: 77.11 MB / 0.5435 GB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04018/0.4778, allocations: 34.79 MB / 0.5774 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.481, allocations: 59.56 kB / 0.5775 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003703/0.4848, allocations: 0.9248 MB / 0.5784 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01566/0.5005, allocations: 4.316 MB / 0.5826 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01766/0.5182, allocations: 5.605 MB / 0.5881 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.5294, allocations: 7.271 MB / 0.5952 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.5319, allocations: 1.143 MB / 0.5963 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/0.5445, allocations: 5.051 MB / 0.6012 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.5478, allocations: 1.643 MB / 0.6028 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008631/0.5487, allocations: 104 kB / 0.6029 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0162/0.5649, allocations: 7.098 MB / 0.6099 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.5666, allocations: 0.6544 MB / 0.6105 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.5695, allocations: 1.011 MB / 0.6115 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.5879, allocations: 6.602 MB / 0.6179 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5879, allocations: 3.938 kB / 0.6179 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5879, allocations: 0 / 0.6179 GB, free: 10.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001206/0.5881, allocations: 0 / 0.6179 GB, free: 10.48 MB / 462.1 MB 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.008548/0.5966, allocations: 2.81 MB / 0.6207 GB, free: 7.613 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5967, allocations: 8.031 kB / 0.6207 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006537/0.5973, allocations: 273.3 kB / 0.621 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006663/0.604, allocations: 0.8104 MB / 0.6217 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.6062, allocations: 1.053 MB / 0.6228 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/0.6066, allocations: 457.2 kB / 0.6232 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/0.607, allocations: 177.6 kB / 0.6234 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007336/0.6144, allocations: 3.138 MB / 0.6264 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/0.6144, allocations: 7.938 kB / 0.6265 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.6147, allocations: 84 kB / 0.6265 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.6149, allocations: 90.64 kB / 0.6266 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006997/0.6219, allocations: 2.691 MB / 0.6292 GB, free: 14.46 MB / 478.1 MB 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.01809/0.64, allocations: 15.73 MB / 0.6446 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.6444, allocations: 1.379 MB / 0.646 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.6458, allocations: 0.5383 MB / 0.6465 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.6469, allocations: 0.7025 MB / 0.6472 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.647, allocations: 51.5 kB / 0.6472 GB, free: 10.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.916e-06/0.647, allocations: 0 / 0.6472 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01731/0.6643, allocations: 5.214 MB / 0.6523 GB, free: 5.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.6645, allocations: 171.2 kB / 0.6525 GB, free: 5.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.6666, allocations: 1.457 MB / 0.6539 GB, free: 3.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.6668, allocations: 49.7 kB / 0.6539 GB, free: 3.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000711/0.6675, allocations: 0.936 MB / 0.6549 GB, free: 2.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/0.6679, allocations: 418.2 kB / 0.6553 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006233/0.6685, allocations: 459.9 kB / 0.6557 GB, free: 1.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6686, allocations: 305.1 kB / 0.656 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.6703, allocations: 0.6837 MB / 0.6567 GB, free: 1.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.6728, allocations: 1.922 MB / 0.6585 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/0.6772, allocations: 2.775 MB / 0.6612 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/0.6772, allocations: 12 kB / 0.6613 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006136/0.6833, allocations: 2.816 MB / 0.664 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.6834, allocations: 24 kB / 0.664 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.91e-05/0.6835, allocations: 52 kB / 0.6641 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.6849, allocations: 443 kB / 0.6645 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.6866, allocations: 0.5225 MB / 0.665 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.6888, allocations: 2.74 MB / 0.6677 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.691, allocations: 203.7 kB / 0.6679 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.6912, allocations: 140 kB / 0.668 GB, free: 4.023 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.001029/0.6923, allocations: 0.5435 MB / 0.6685 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.6927, allocations: 177.9 kB / 0.6687 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007205/0.7, allocations: 4.962 MB / 0.6736 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/0.7, allocations: 43.94 kB / 0.6736 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.7001, allocations: 8.031 kB / 0.6736 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.7001, allocations: 7.969 kB / 0.6736 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.7103, allocations: 7.118 MB / 0.6806 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.7104, allocations: 3.938 kB / 0.6806 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.7114, allocations: 259.9 kB / 0.6808 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.7128, allocations: 435.1 kB / 0.6812 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-05/0.7129, allocations: 31.98 kB / 0.6813 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.7152, allocations: 2.791 MB / 0.684 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7153, allocations: 0 / 0.684 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006704/0.722, allocations: 4.092 MB / 0.688 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.723, allocations: 409.8 kB / 0.6884 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/0.7236, allocations: 71.28 kB / 0.6884 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.725, allocations: 123.7 kB / 0.6886 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.7253, allocations: 104.9 kB / 0.6887 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.7255, allocations: 47.97 kB / 0.6887 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002293/0.7277, allocations: 1.232 MB / 0.6899 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7278, allocations: 0 / 0.6899 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006235/0.734, allocations: 1.406 MB / 0.6913 GB, free: 11.7 MB / 0.5294 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.01468/0.7487, allocations: 5.931 MB / 0.6971 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005927/0.7547, allocations: 2.235 MB / 0.6993 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.7547, allocations: 448 / 0.6993 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.7572, allocations: 1.347 MB / 0.7006 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005112/0.7624, allocations: 0.9039 MB / 0.7015 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2472/1.01, allocations: 22.08 MB / 0.723 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.011, allocations: 1.654 MB / 0.7246 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00256/1.014, allocations: 0.9589 MB / 0.7256 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008391/1.014, allocations: 0.92 MB / 0.7265 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/1.014, allocations: 0 / 0.7265 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.128, allocations: 87.03 MB / 0.8115 GB, free: 95.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.128, allocations: 298.3 kB / 0.8117 GB, free: 95.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.852/6.98, allocations: 0 / 0.8117 GB, free: 95.52 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)