Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001508/0.001508, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.43/1.43, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 112.5 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2182/0.2182, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.488e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.772/6.896, allocations: 2.597 GB / 3.041 GB, free: 131.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/6.896, allocations: 90.28 kB / 3.041 GB, free: 131.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.008/9.904, allocations: 0.8029 GB / 3.844 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.452e-06/9.904, allocations: 0 / 3.844 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001084/9.904, allocations: 49.14 kB / 3.844 GB, free: 35.64 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.009936/9.914, allocations: 2.97 MB / 3.847 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/9.914, allocations: 10.12 kB / 3.847 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006715/9.92, allocations: 0.8496 MB / 3.848 GB, free: 34.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/9.923, allocations: 1.145 MB / 3.849 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/9.924, allocations: 455.8 kB / 3.849 GB, free: 33.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/9.924, allocations: 174 kB / 3.85 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005708/9.93, allocations: 3.108 MB / 3.853 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/9.93, allocations: 15.81 kB / 3.853 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/9.93, allocations: 85.66 kB / 3.853 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.343e-05/9.93, allocations: 80.5 kB / 3.853 GB, free: 32.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004765/9.935, allocations: 2.553 MB / 3.855 GB, free: 32.52 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.01366/9.949, allocations: 15.47 MB / 3.87 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/9.951, allocations: 1.246 MB / 3.872 GB, free: 19.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/9.952, allocations: 401 kB / 3.872 GB, free: 19.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04264/9.995, allocations: 18.41 MB / 3.89 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/9.995, allocations: 51.44 kB / 3.89 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 3.146e-06/9.995, allocations: 4 kB / 3.89 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117): time 0.0118/10.01, allocations: 4.28 MB / 3.894 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/10.01, allocations: 166 kB / 3.894 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/10.01, allocations: 1.048 MB / 3.895 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/10.01, allocations: 52.2 kB / 3.896 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/10.01, allocations: 0.9793 MB / 3.896 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/10.01, allocations: 427.2 kB / 3.897 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/10.01, allocations: 46.56 kB / 3.897 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001585/10.01, allocations: 454.6 kB / 3.897 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/10.01, allocations: 0.5388 MB / 3.898 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/10.01, allocations: 1.839 MB / 3.9 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/10.01, allocations: 0.8942 MB / 3.901 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/10.01, allocations: 17.09 kB / 3.901 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.003499/10.02, allocations: 2.593 MB / 3.903 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/10.02, allocations: 24 kB / 3.903 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/10.02, allocations: 48 kB / 3.903 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/10.02, allocations: 397.9 kB / 3.904 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/10.02, allocations: 0.5163 MB / 3.904 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/10.02, allocations: 2.716 MB / 3.907 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/10.02, allocations: 193.5 kB / 3.907 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/10.02, allocations: 143.5 kB / 3.907 GB, free: 14.73 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 () * 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.0004046/10.02, allocations: 311.3 kB / 3.907 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/10.02, allocations: 157.5 kB / 3.907 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/10.03, allocations: 4.53 MB / 3.912 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.61e-05/10.03, allocations: 49.53 kB / 3.912 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/10.03, allocations: 0 / 3.912 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/10.03, allocations: 5.906 kB / 3.912 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009033/10.04, allocations: 6.679 MB / 3.918 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/10.04, allocations: 4 kB / 3.918 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/10.04, allocations: 214.8 kB / 3.919 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/10.04, allocations: 398.7 kB / 3.919 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/10.04, allocations: 38.83 kB / 3.919 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/10.04, allocations: 2.758 MB / 3.922 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/10.04, allocations: 4 kB / 3.922 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005941/10.05, allocations: 3.899 MB / 3.926 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/10.05, allocations: 443.4 kB / 3.926 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/10.05, allocations: 26.11 kB / 3.926 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009335/10.05, allocations: 124.1 kB / 3.926 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/10.05, allocations: 98.69 kB / 3.926 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/10.05, allocations: 39.28 kB / 3.926 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00128/10.05, allocations: 0.801 MB / 3.927 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/10.05, allocations: 0 / 3.927 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007007/10.06, allocations: 1.474 MB / 3.929 GB, free: 10.71 MB / 0.5261 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 () * 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.008078/10.07, allocations: 2.061 MB / 3.931 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003994/10.07, allocations: 1.978 MB / 3.932 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/10.07, allocations: 4 kB / 3.932 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/10.07, allocations: 1.209 MB / 3.934 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/10.08, allocations: 0.6126 MB / 3.934 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.05/11.13, allocations: 216 MB / 4.145 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/11.13, allocations: 1.649 MB / 4.147 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002441/11.13, allocations: 0.8878 MB / 4.148 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/11.13, allocations: 135.6 kB / 4.148 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/11.13, allocations: 0 / 4.148 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.08431/11.21, allocations: 62.17 MB / 4.208 GB, free: 55.39 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)