Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001747/0.001748, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.414/1.414, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001635/0.001635, allocations: 119.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2345/0.2345, allocations: 37.99 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.088e-05, allocations: 1.906 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 48.73 MB / 398.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.409/1.532, allocations: 407.7 MB / 0.7876 GB, free: 155.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/1.533, allocations: 92.61 kB / 0.7877 GB, free: 155.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2571/1.79, allocations: 116.6 MB / 0.9016 GB, free: 48.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.79, allocations: 4 kB / 0.9016 GB, free: 48.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.932e-05/1.79, allocations: 16 kB / 0.9016 GB, free: 48.56 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002872/1.793, allocations: 0.9719 MB / 0.9025 GB, free: 47.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.793, allocations: 12.02 kB / 0.9025 GB, free: 47.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/1.793, allocations: 87.06 kB / 0.9026 GB, free: 47.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/1.795, allocations: 0.5506 MB / 0.9032 GB, free: 46.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.795, allocations: 80.72 kB / 0.9032 GB, free: 46.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.795, allocations: 31.98 kB / 0.9033 GB, free: 46.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009661/1.796, allocations: 0.5414 MB / 0.9038 GB, free: 46.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.797, allocations: 0.7285 MB / 0.9045 GB, free: 45.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/1.797, allocations: 3.938 kB / 0.9045 GB, free: 45.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/1.797, allocations: 4 kB / 0.9045 GB, free: 45.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/1.797, allocations: 41.3 kB / 0.9046 GB, free: 45.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/1.802, allocations: 3.966 MB / 0.9084 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/1.802, allocations: 307.5 kB / 0.9087 GB, free: 40.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/1.803, allocations: 157.4 kB / 0.9089 GB, free: 40.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/1.803, allocations: 348.7 kB / 0.9092 GB, free: 40.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/1.803, allocations: 38.84 kB / 0.9092 GB, free: 40.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.306e-06/1.803, allocations: 0 / 0.9092 GB, free: 40.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003313/1.806, allocations: 1.275 MB / 0.9105 GB, free: 38.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/1.806, allocations: 132.5 kB / 0.9106 GB, free: 38.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/1.807, allocations: 454 kB / 0.911 GB, free: 38.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/1.807, allocations: 33.64 kB / 0.9111 GB, free: 38.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/1.807, allocations: 387 kB / 0.9114 GB, free: 37.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.807, allocations: 138 kB / 0.9116 GB, free: 37.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/1.807, allocations: 0 / 0.9116 GB, free: 37.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/1.808, allocations: 370.8 kB / 0.9119 GB, free: 37.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/1.808, allocations: 197.5 kB / 0.9121 GB, free: 37.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/1.808, allocations: 0.5062 MB / 0.9126 GB, free: 36.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/1.809, allocations: 332.9 kB / 0.9129 GB, free: 36.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.809, allocations: 7.953 kB / 0.9129 GB, free: 36.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001903/1.811, allocations: 0.8908 MB / 0.9138 GB, free: 35.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.811, allocations: 15.09 kB / 0.9138 GB, free: 35.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.811, allocations: 12 kB / 0.9138 GB, free: 35.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000923/1.812, allocations: 231.9 kB / 0.9141 GB, free: 34.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/1.812, allocations: 127.8 kB / 0.9142 GB, free: 34.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/1.813, allocations: 0.8683 MB / 0.915 GB, free: 33.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/1.814, allocations: 39.97 kB / 0.9151 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/1.814, allocations: 43.94 kB / 0.9151 GB, free: 33.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/1.814, allocations: 136.5 kB / 0.9152 GB, free: 33.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.814, allocations: 59.25 kB / 0.9153 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/1.816, allocations: 0.5802 MB / 0.9159 GB, free: 33.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.816, allocations: 8 kB / 0.9159 GB, free: 33.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.816, allocations: 0 / 0.9159 GB, free: 33.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.816, allocations: 3.984 kB / 0.9159 GB, free: 33.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.818, allocations: 1.468 MB / 0.9173 GB, free: 31.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.818, allocations: 0 / 0.9173 GB, free: 31.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009268/1.819, allocations: 187.8 kB / 0.9175 GB, free: 31.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/1.819, allocations: 56.98 kB / 0.9175 GB, free: 31.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/1.82, allocations: 11.95 kB / 0.9175 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/1.821, allocations: 2.688 MB / 0.9202 GB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.821, allocations: 8 kB / 0.9202 GB, free: 28.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.823, allocations: 0.9414 MB / 0.9211 GB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/1.823, allocations: 196.3 kB / 0.9213 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.823, allocations: 8 kB / 0.9213 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/1.824, allocations: 19.98 kB / 0.9213 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/1.824, allocations: 31.95 kB / 0.9213 GB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/1.824, allocations: 19.98 kB / 0.9214 GB, free: 27.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004585/1.824, allocations: 326.9 kB / 0.9217 GB, free: 26.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.824, allocations: 4 kB / 0.9217 GB, free: 26.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001124/1.826, allocations: 204 kB / 0.9219 GB, free: 26.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006667/1.826, allocations: 262.2 kB / 0.9221 GB, free: 26.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/1.827, allocations: 0.5245 MB / 0.9226 GB, free: 25.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.827, allocations: 0 / 0.9226 GB, free: 25.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009639/1.828, allocations: 429.5 kB / 0.923 GB, free: 25.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/1.83, allocations: 266.5 kB / 0.9233 GB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.832, allocations: 0.9538 MB / 0.9242 GB, free: 24.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/1.832, allocations: 0.9459 MB / 0.9252 GB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007645/1.833, allocations: 197.4 kB / 0.9253 GB, free: 22.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/1.833, allocations: 59.42 kB / 0.9254 GB, free: 22.79 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/1.833, allocations: 0 / 0.9254 GB, free: 22.79 MB / 426.7 MB Notification: Performance of Templates: time 0.02067/1.854, allocations: 11.67 MB / 0.9368 GB, free: 11.17 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)