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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004126/0.004126, allocations: 363.8 kB / 15.95 MB, free: 6.203 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 3.924/3.924, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.006599/0.006599, allocations: 222.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5504/0.5504, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.8/7.904, allocations: 2.597 GB / 3.277 GB, free: 49.04 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/7.905, allocations: 88.77 kB / 3.277 GB, free: 48.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.259/12.16, allocations: 0.7599 GB / 4.037 GB, free: 30.68 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.895e-06/12.16, allocations: 0 / 4.037 GB, free: 30.68 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001647/12.16, allocations: 55.67 kB / 4.037 GB, free: 30.66 MB / 0.4949 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.01424/12.18, allocations: 3.094 MB / 4.04 GB, free: 28.96 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/12.18, allocations: 7.625 kB / 4.04 GB, free: 28.96 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/12.19, allocations: 0.8424 MB / 4.041 GB, free: 28.83 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/12.19, allocations: 1.152 MB / 4.042 GB, free: 28.21 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006277/12.19, allocations: 460.2 kB / 4.042 GB, free: 27.83 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000911/12.19, allocations: 177.5 kB / 4.043 GB, free: 27.77 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/12.21, allocations: 3.187 MB / 4.046 GB, free: 26.22 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-05/12.21, allocations: 15.81 kB / 4.046 GB, free: 26.21 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004522/12.21, allocations: 83.5 kB / 4.046 GB, free: 26.15 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/12.21, allocations: 76.8 kB / 4.046 GB, free: 26.14 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/12.22, allocations: 2.769 MB / 4.048 GB, free: 25.37 MB / 0.4949 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.0246/12.24, allocations: 15.47 MB / 4.064 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00587/12.25, allocations: 1.28 MB / 4.065 GB, free: 9.348 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/12.25, allocations: 482.5 kB / 4.065 GB, free: 8.949 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08073/12.33, allocations: 18.28 MB / 4.083 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/12.33, allocations: 47.5 kB / 4.083 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 3.817e-06/12.33, allocations: 0 / 4.083 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.02807/12.36, allocations: 4.806 MB / 4.088 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/12.36, allocations: 167.2 kB / 4.088 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5355/12.9, allocations: 1.204 MB / 4.089 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003412/12.9, allocations: 46.64 kB / 4.089 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/12.9, allocations: 0.9736 MB / 4.09 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006914/12.9, allocations: 430.3 kB / 4.091 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/12.9, allocations: 46.23 kB / 4.091 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003539/12.9, allocations: 455.5 kB / 4.091 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/12.9, allocations: 0.6364 MB / 4.092 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/12.91, allocations: 1.94 MB / 4.094 GB, free: 50.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/12.91, allocations: 0.9892 MB / 4.095 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.863e-05/12.91, allocations: 15.41 kB / 4.095 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.009679/12.92, allocations: 2.786 MB / 4.097 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/12.92, allocations: 24.53 kB / 4.097 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-05/12.92, allocations: 46.59 kB / 4.097 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/12.92, allocations: 410.1 kB / 4.098 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/12.92, allocations: 0.5184 MB / 4.098 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/12.93, allocations: 2.721 MB / 4.101 GB, free: 48.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/12.93, allocations: 201.2 kB / 4.101 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006107/12.93, allocations: 143.4 kB / 4.101 GB, free: 48.28 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.001732/12.93, allocations: 0.5526 MB / 4.102 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/12.93, allocations: 152.2 kB / 4.102 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/12.94, allocations: 4.656 MB / 4.107 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-05/12.94, allocations: 46.67 kB / 4.107 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/12.94, allocations: 4.531 kB / 4.107 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.668e-05/12.94, allocations: 5.812 kB / 4.107 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/12.96, allocations: 6.803 MB / 4.113 GB, free: 47.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/12.96, allocations: 3.25 kB / 4.113 GB, free: 47.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/12.96, allocations: 221.9 kB / 4.113 GB, free: 47.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/12.96, allocations: 405.8 kB / 4.114 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/12.96, allocations: 32.42 kB / 4.114 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/12.97, allocations: 2.763 MB / 4.117 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/12.97, allocations: 8.953 kB / 4.117 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009325/12.98, allocations: 3.908 MB / 4.12 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/12.98, allocations: 446 kB / 4.121 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/12.98, allocations: 32 kB / 4.121 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/12.98, allocations: 117.5 kB / 4.121 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/12.98, allocations: 93.12 kB / 4.121 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/12.98, allocations: 51.03 kB / 4.121 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001842/12.98, allocations: 0.8124 MB / 4.122 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.72e-07/12.98, allocations: 0 / 4.122 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008386/12.99, allocations: 1.467 MB / 4.123 GB, free: 44 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.01131/13, allocations: 2.071 MB / 4.125 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007008/13.01, allocations: 2.172 MB / 4.127 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/13.01, allocations: 1.938 kB / 4.127 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003601/13.01, allocations: 1.305 MB / 4.129 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006308/13.02, allocations: 0.6282 MB / 4.129 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4148/13.43, allocations: 132.7 MB / 4.259 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/13.44, allocations: 1.654 MB / 4.261 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003671/13.44, allocations: 0.8927 MB / 4.261 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/13.44, allocations: 122.9 kB / 4.261 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.164e-06/13.44, allocations: 0 / 4.261 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.581/14.02, allocations: 61.11 MB / 4.321 GB, free: 64.08 MB / 0.5261 GB