Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009998/0.009998, allocations: 175.8 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.917/1.917, allocations: 194.5 MB / 210.3 MB, free: 11.41 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001976/0.001975, allocations: 112.7 kB / 255.6 MB, free: 14.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4898/0.4898, allocations: 40 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006738/0.0006738, allocations: 12 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3701, allocations: 54.87 MB / 461.2 MB, free: 24.58 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.904/8.275, allocations: 2.597 GB / 3.047 GB, free: 102.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/8.275, allocations: 86.95 kB / 3.047 GB, free: 102.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.125/12.4, allocations: 0.8052 GB / 3.852 GB, free: 32.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.845e-06/12.4, allocations: 0 / 3.852 GB, free: 32.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001719/12.4, allocations: 45.19 kB / 3.852 GB, free: 32.34 MB / 0.4948 GB 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.01389/12.41, allocations: 3.11 MB / 3.855 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/12.41, allocations: 7.062 kB / 3.855 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/12.42, allocations: 274.2 kB / 3.856 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009954/12.43, allocations: 0.8369 MB / 3.856 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/12.43, allocations: 1.145 MB / 3.858 GB, free: 29.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004793/12.43, allocations: 462.5 kB / 3.858 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006031/12.43, allocations: 168 kB / 3.858 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/12.44, allocations: 3.183 MB / 3.861 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.199e-05/12.44, allocations: 11.31 kB / 3.861 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/12.44, allocations: 85.19 kB / 3.861 GB, free: 27.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/12.44, allocations: 89.7 kB / 3.862 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/12.45, allocations: 2.764 MB / 3.864 GB, free: 26.97 MB / 0.4948 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.02544/12.48, allocations: 15.47 MB / 3.879 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/12.49, allocations: 1.277 MB / 3.881 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07689/12.56, allocations: 18.29 MB / 3.898 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.485e-05/12.56, allocations: 47.56 kB / 3.898 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 4.047e-06/12.56, allocations: 3.938 kB / 3.898 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.02783/12.59, allocations: 4.803 MB / 3.903 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/12.59, allocations: 167.2 kB / 3.903 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/12.59, allocations: 1.062 MB / 3.904 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/12.59, allocations: 49.7 kB / 3.904 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/12.6, allocations: 0.9757 MB / 3.905 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007548/12.6, allocations: 423.7 kB / 3.906 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/12.6, allocations: 44 kB / 3.906 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004069/12.6, allocations: 455.6 kB / 3.906 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/12.6, allocations: 0.6371 MB / 3.907 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004285/12.6, allocations: 1.933 MB / 3.909 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/12.61, allocations: 0.9951 MB / 3.91 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.294e-05/12.61, allocations: 12 kB / 3.91 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.4503/13.06, allocations: 2.787 MB / 3.912 GB, free: 49.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/13.06, allocations: 24.25 kB / 3.912 GB, free: 49.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.569e-05/13.06, allocations: 45.5 kB / 3.913 GB, free: 49.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/13.06, allocations: 409.5 kB / 3.913 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/13.06, allocations: 0.5223 MB / 3.913 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/13.07, allocations: 2.726 MB / 3.916 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/13.07, allocations: 194 kB / 3.916 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005231/13.07, allocations: 144.8 kB / 3.916 GB, free: 47.43 MB / 0.5105 GB 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.001583/13.07, allocations: 0.5433 MB / 3.917 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/13.07, allocations: 157 kB / 3.917 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/13.08, allocations: 4.653 MB / 3.922 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.783e-05/13.08, allocations: 50.25 kB / 3.922 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/13.08, allocations: 5.188 kB / 3.922 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-05/13.08, allocations: 11.86 kB / 3.922 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/13.1, allocations: 6.795 MB / 3.928 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/13.1, allocations: 2 kB / 3.928 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/13.1, allocations: 225 kB / 3.929 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/13.1, allocations: 403.2 kB / 3.929 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/13.1, allocations: 31.83 kB / 3.929 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/13.11, allocations: 2.758 MB / 3.932 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/13.11, allocations: 5.406 kB / 3.932 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008954/13.12, allocations: 4.075 MB / 3.936 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/13.12, allocations: 450.7 kB / 3.936 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/13.12, allocations: 25.97 kB / 3.936 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/13.12, allocations: 133.7 kB / 3.936 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/13.12, allocations: 88.72 kB / 3.936 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/13.12, allocations: 51.75 kB / 3.936 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001659/13.12, allocations: 0.8135 MB / 3.937 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/13.12, allocations: 0 / 3.937 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007794/13.13, allocations: 1.47 MB / 3.939 GB, free: 43.26 MB / 0.5105 GB 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.0198/13.15, allocations: 7.31 MB / 3.946 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006374/13.16, allocations: 2.176 MB / 3.948 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/13.16, allocations: 0 / 3.948 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/13.16, allocations: 1.309 MB / 3.949 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/13.16, allocations: 0.6069 MB / 3.95 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.202/14.37, allocations: 255.9 MB / 4.2 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/14.37, allocations: 1.652 MB / 4.201 GB, free: 28.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003482/14.37, allocations: 0.8851 MB / 4.202 GB, free: 28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/14.37, allocations: 0.8554 MB / 4.203 GB, free: 28 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/14.37, allocations: 1.219 kB / 4.203 GB, free: 28 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/14.55, allocations: 80.68 MB / 4.282 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/14.55, allocations: 257.4 kB / 4.282 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.184/20.74, allocations: 4 kB / 4.282 GB, free: 4.434 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat