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.001423/0.001423, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 79 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 62.44 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.269/0.3818, allocations: 76.23 MB / 0.5428 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03565/0.4175, allocations: 33.69 MB / 0.5757 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.4199, allocations: 55.56 kB / 0.5758 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.4229, allocations: 0.9327 MB / 0.5767 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.4366, allocations: 4.603 MB / 0.5812 GB, free: 124 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01646/0.4531, allocations: 5.82 MB / 0.5868 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006781/0.4599, allocations: 5.198 MB / 0.5919 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.4624, allocations: 1.326 MB / 0.5932 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.4732, allocations: 5.297 MB / 0.5984 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.4763, allocations: 1.674 MB / 0.6 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008582/0.4772, allocations: 196 kB / 0.6002 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.4921, allocations: 7.157 MB / 0.6072 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.4936, allocations: 0.7403 MB / 0.6079 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.4959, allocations: 1.101 MB / 0.609 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.5101, allocations: 6.684 MB / 0.6155 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5102, allocations: 0 / 0.6155 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5102, allocations: 0 / 0.6155 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.39e-05/0.5103, allocations: 4 kB / 0.6155 GB, free: 12.81 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.007469/0.5178, allocations: 2.806 MB / 0.6183 GB, free: 9.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5178, allocations: 15.97 kB / 0.6183 GB, free: 9.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004989/0.5183, allocations: 273.3 kB / 0.6185 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.5248, allocations: 0.8066 MB / 0.6193 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.5269, allocations: 1.053 MB / 0.6204 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004307/0.5273, allocations: 457.2 kB / 0.6208 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/0.5277, allocations: 175.8 kB / 0.621 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007393/0.5351, allocations: 3.138 MB / 0.624 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.644e-05/0.5352, allocations: 19.86 kB / 0.624 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/0.5355, allocations: 80 kB / 0.6241 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.5356, allocations: 90.64 kB / 0.6242 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0075/0.5432, allocations: 2.695 MB / 0.6268 GB, free: 0.7852 MB / 462.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.01897/0.5622, allocations: 15.72 MB / 0.6422 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004529/0.5667, allocations: 1.387 MB / 0.6435 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.5681, allocations: 0.5422 MB / 0.6441 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.5692, allocations: 0.6986 MB / 0.6448 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.5693, allocations: 47.56 kB / 0.6448 GB, free: 13.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.915e-06/0.5693, allocations: 0 / 0.6448 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01768/0.587, allocations: 5.223 MB / 0.6499 GB, free: 7.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.5871, allocations: 167.2 kB / 0.6501 GB, free: 7.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.5892, allocations: 1.453 MB / 0.6515 GB, free: 6.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.5893, allocations: 49.7 kB / 0.6515 GB, free: 6.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000677/0.59, allocations: 0.9399 MB / 0.6524 GB, free: 5.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.5904, allocations: 422.2 kB / 0.6529 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005713/0.591, allocations: 459.9 kB / 0.6533 GB, free: 4.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.5911, allocations: 305.1 kB / 0.6536 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.5927, allocations: 0.6798 MB / 0.6542 GB, free: 3.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.5951, allocations: 1.926 MB / 0.6561 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/0.5995, allocations: 2.775 MB / 0.6588 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.518e-05/0.5995, allocations: 12 kB / 0.6588 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006104/0.6056, allocations: 2.803 MB / 0.6616 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.6057, allocations: 30.95 kB / 0.6616 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.896e-05/0.6058, allocations: 47.94 kB / 0.6617 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.6072, allocations: 439.8 kB / 0.6621 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.6089, allocations: 0.5303 MB / 0.6626 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.6111, allocations: 2.74 MB / 0.6653 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.6131, allocations: 207.7 kB / 0.6655 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.6134, allocations: 140 kB / 0.6656 GB, free: 6.352 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.0008742/0.6142, allocations: 0.5435 MB / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.6146, allocations: 173.9 kB / 0.6663 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007032/0.6217, allocations: 4.97 MB / 0.6712 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/0.6217, allocations: 47.94 kB / 0.6712 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6217, allocations: 0 / 0.6712 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.6218, allocations: 7.969 kB / 0.6712 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009862/0.6316, allocations: 7.118 MB / 0.6782 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.6317, allocations: 4 kB / 0.6782 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.6327, allocations: 259.9 kB / 0.6784 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.6341, allocations: 439.1 kB / 0.6788 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.08e-05/0.6342, allocations: 31.94 kB / 0.6789 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.6364, allocations: 2.791 MB / 0.6816 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6364, allocations: 4 kB / 0.6816 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006324/0.6428, allocations: 4.088 MB / 0.6856 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008182/0.6436, allocations: 413.7 kB / 0.686 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/0.644, allocations: 71.28 kB / 0.686 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.6453, allocations: 127.7 kB / 0.6862 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.6455, allocations: 100.9 kB / 0.6863 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-05/0.6456, allocations: 47.98 kB / 0.6863 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001746/0.6474, allocations: 1.24 MB / 0.6875 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6474, allocations: 3.938 kB / 0.6875 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004217/0.6516, allocations: 1.41 MB / 0.6889 GB, free: 14 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.01169/0.6633, allocations: 5.915 MB / 0.6947 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007118/0.6704, allocations: 2.497 MB / 0.6971 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.6705, allocations: 8.375 kB / 0.6971 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/0.6728, allocations: 1.359 MB / 0.6984 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/0.6773, allocations: 0.9416 MB / 0.6994 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2237/0.901, allocations: 22.09 MB / 0.7209 GB, free: 200.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.9024, allocations: 1.647 MB / 0.7226 GB, free: 199.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002404/0.9048, allocations: 0.9599 MB / 0.7235 GB, free: 199.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/0.9057, allocations: 0.9184 MB / 0.7244 GB, free: 199.3 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.9058, allocations: 0 / 0.7244 GB, free: 199.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/1.049, allocations: 88.66 MB / 0.811 GB, free: 128 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/1.049, allocations: 296 kB / 0.8113 GB, free: 127.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.728/6.777, allocations: 0 / 0.8113 GB, free: 127.7 MB / 0.545 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)