Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009872/0.009872, allocations: 165.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.659/1.659, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001963/0.001963, allocations: 99.41 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5132/0.5132, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000722/0.0007219, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1231, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.879/8.002, allocations: 2.486 GB / 2.888 GB, free: 50.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/8.003, allocations: 86.95 kB / 2.888 GB, free: 50.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268/12.27, allocations: 0.7845 GB / 3.673 GB, free: 25.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.866e-06/12.27, allocations: 0 / 3.673 GB, free: 25.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001847/12.27, allocations: 51.22 kB / 3.673 GB, free: 25.57 MB / 458.7 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.0144/12.29, allocations: 3.04 MB / 3.676 GB, free: 24.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/12.29, allocations: 11.84 kB / 3.676 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/12.29, allocations: 268.5 kB / 3.676 GB, free: 24.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00969/12.3, allocations: 0.7759 MB / 3.677 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/12.3, allocations: 1.146 MB / 3.678 GB, free: 23.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/12.3, allocations: 463.7 kB / 3.678 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008879/12.3, allocations: 170.5 kB / 3.678 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/12.31, allocations: 3.176 MB / 3.682 GB, free: 22.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.559e-05/12.31, allocations: 14.94 kB / 3.682 GB, free: 22.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/12.32, allocations: 83.95 kB / 3.682 GB, free: 22.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/12.32, allocations: 84.53 kB / 3.682 GB, free: 22.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/12.33, allocations: 2.768 MB / 3.684 GB, free: 22.65 MB / 458.7 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.0244/12.35, allocations: 15.47 MB / 3.7 GB, free: 27.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/12.36, allocations: 1.285 MB / 3.701 GB, free: 27.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07689/12.43, allocations: 18.21 MB / 3.719 GB, free: 20 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/12.43, allocations: 41.62 kB / 3.719 GB, free: 19.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 3.346e-06/12.43, allocations: 0 / 3.719 GB, free: 19.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.02459/12.46, allocations: 4.816 MB / 3.723 GB, free: 19.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/12.46, allocations: 175.2 kB / 3.723 GB, free: 19.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/12.46, allocations: 1.059 MB / 3.724 GB, free: 18.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002897/12.46, allocations: 50.08 kB / 3.725 GB, free: 18.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007492/12.46, allocations: 0.9735 MB / 3.725 GB, free: 18.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/12.46, allocations: 417.8 kB / 3.726 GB, free: 17.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/12.46, allocations: 54.06 kB / 3.726 GB, free: 17.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003146/12.46, allocations: 455.5 kB / 3.726 GB, free: 17.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/12.47, allocations: 0.6451 MB / 3.727 GB, free: 17.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/12.47, allocations: 1.932 MB / 3.729 GB, free: 15.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/12.47, allocations: 0.9864 MB / 3.73 GB, free: 15.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/12.47, allocations: 10.22 kB / 3.73 GB, free: 15.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.009006/12.48, allocations: 2.791 MB / 3.733 GB, free: 15.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/12.48, allocations: 23.84 kB / 3.733 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.733e-05/12.48, allocations: 47.44 kB / 3.733 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/12.48, allocations: 405.5 kB / 3.733 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/12.49, allocations: 0.5231 MB / 3.734 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/12.49, allocations: 2.726 MB / 3.736 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/12.49, allocations: 193.3 kB / 3.736 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004273/12.49, allocations: 147.9 kB / 3.737 GB, free: 13.33 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.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 (277): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.00152/12.5, allocations: 0.5506 MB / 3.737 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/12.5, allocations: 153.2 kB / 3.737 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009898/12.51, allocations: 4.65 MB / 3.742 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.618e-05/12.51, allocations: 54.89 kB / 3.742 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/12.51, allocations: 0 / 3.742 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/12.51, allocations: 5.953 kB / 3.742 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/12.52, allocations: 6.803 MB / 3.748 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/12.52, allocations: 6.688 kB / 3.748 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/12.52, allocations: 224.5 kB / 3.749 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/12.52, allocations: 395.2 kB / 3.749 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/12.52, allocations: 31.34 kB / 3.749 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/12.53, allocations: 2.767 MB / 3.752 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/12.53, allocations: 7.406 kB / 3.752 GB, free: 9.695 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009186/12.54, allocations: 4.068 MB / 3.756 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/12.54, allocations: 443.6 kB / 3.756 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/12.54, allocations: 36.05 kB / 3.756 GB, free: 8.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/12.54, allocations: 113.7 kB / 3.756 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/12.54, allocations: 99.41 kB / 3.756 GB, free: 8.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/12.54, allocations: 42.17 kB / 3.756 GB, free: 8.664 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001741/12.54, allocations: 0.8176 MB / 3.757 GB, free: 8.551 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.11e-07/12.54, allocations: 0 / 3.757 GB, free: 8.551 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008314/12.55, allocations: 1.453 MB / 3.759 GB, free: 8.387 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02187/12.57, allocations: 7.303 MB / 3.766 GB, free: 5.988 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006878/12.58, allocations: 2.173 MB / 3.768 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/12.58, allocations: 1 kB / 3.768 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003724/12.58, allocations: 1.307 MB / 3.769 GB, free: 5.055 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/12.59, allocations: 0.6018 MB / 3.77 GB, free: 4.906 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.476/14.06, allocations: 251.5 MB / 4.015 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/14.07, allocations: 1.651 MB / 4.017 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003755/14.07, allocations: 0.8899 MB / 4.018 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/14.07, allocations: 0.8553 MB / 4.019 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.273e-06/14.07, allocations: 0 / 4.019 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/14.26, allocations: 80.47 MB / 4.097 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/14.26, allocations: 260.6 kB / 4.098 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.212/20.47, allocations: 0 / 4.098 GB, free: 35.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat