Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2779/0.2779, allocations: 54.34 MB / 66.89 MB, free: 6.09 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001185/0.001185, allocations: 184.7 kB / 80.7 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.549/1.549, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001663/0.001663, allocations: 118.4 kB / 346.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.812e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 57.65 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.868/5.992, allocations: 2.143 GB / 2.602 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.992, allocations: 89.53 kB / 2.602 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.988/8.98, allocations: 0.8564 GB / 3.459 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.819e-06/8.98, allocations: 3.594 kB / 3.459 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003873/8.98, allocations: 53.5 kB / 3.459 GB, free: 42.43 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.008154/8.989, allocations: 2.114 MB / 3.461 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/8.989, allocations: 10.66 kB / 3.461 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/8.993, allocations: 0.6048 MB / 3.461 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/8.997, allocations: 1.549 MB / 3.463 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.585e-05/8.997, allocations: 99.64 kB / 3.463 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/8.997, allocations: 126.5 kB / 3.463 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/9, allocations: 1.481 MB / 3.464 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/9, allocations: 0 / 3.464 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/9.001, allocations: 68.69 kB / 3.464 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/9.001, allocations: 42.77 kB / 3.465 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/9.003, allocations: 1.129 MB / 3.466 GB, free: 40.39 MB / 0.5105 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.008446/9.011, allocations: 6.008 MB / 3.471 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/9.013, allocations: 0.8968 MB / 3.472 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/9.013, allocations: 435.9 kB / 3.473 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/9.014, allocations: 109.4 kB / 3.473 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/9.015, allocations: 0.6581 MB / 3.474 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=84): time 2.875e-06/9.015, allocations: 0 / 3.474 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92): time 0.006764/9.021, allocations: 3.356 MB / 3.477 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/9.022, allocations: 487.9 kB / 3.477 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/9.023, allocations: 1.224 MB / 3.478 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/9.023, allocations: 45.42 kB / 3.478 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/9.024, allocations: 0.7865 MB / 3.479 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/9.024, allocations: 318 kB / 3.48 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/9.024, allocations: 19.84 kB / 3.48 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/9.024, allocations: 345.1 kB / 3.48 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/9.025, allocations: 391 kB / 3.48 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/9.026, allocations: 0.6772 MB / 3.481 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00663/9.032, allocations: 1.669 MB / 3.483 GB, free: 31.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/9.032, allocations: 3.156 kB / 3.483 GB, free: 31.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003551/9.036, allocations: 1.604 MB / 3.484 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003294/9.036, allocations: 1.663 MB / 3.486 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/9.036, allocations: 8 kB / 3.486 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009124/9.037, allocations: 382.3 kB / 3.486 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/9.038, allocations: 168.4 kB / 3.486 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005608/9.043, allocations: 6.727 MB / 3.493 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/9.045, allocations: 128.5 kB / 3.493 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/9.045, allocations: 43.89 kB / 3.493 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/9.045, allocations: 1.562 kB / 3.493 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002655/9.048, allocations: 1.472 MB / 3.494 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/9.048, allocations: 4 kB / 3.494 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007974/9.049, allocations: 369.6 kB / 3.495 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/9.049, allocations: 159 kB / 3.495 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006002/9.055, allocations: 7.676 MB / 3.502 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/9.057, allocations: 103.8 kB / 3.503 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/9.057, allocations: 39.98 kB / 3.503 GB, free: 11.2 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * 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 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003702/9.058, allocations: 219.3 kB / 3.503 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/9.058, allocations: 177.9 kB / 3.503 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/9.061, allocations: 1.29 MB / 3.504 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/9.061, allocations: 8 kB / 3.504 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/9.061, allocations: 7.938 kB / 3.504 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002103/9.063, allocations: 1.148 MB / 3.505 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/9.068, allocations: 3.184 MB / 3.509 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/9.068, allocations: 6.516 kB / 3.509 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007222/9.069, allocations: 168.1 kB / 3.509 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/9.069, allocations: 169.3 kB / 3.509 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/9.069, allocations: 27.98 kB / 3.509 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/9.072, allocations: 3.418 MB / 3.512 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/9.072, allocations: 8.062 kB / 3.512 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/9.076, allocations: 2.096 MB / 3.514 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/9.077, allocations: 366.9 kB / 3.515 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/9.078, allocations: 31.98 kB / 3.515 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/9.079, allocations: 111.8 kB / 3.515 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/9.079, allocations: 68.58 kB / 3.515 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/9.079, allocations: 39.98 kB / 3.515 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00156/9.081, allocations: 0.9509 MB / 3.516 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/9.081, allocations: 0 / 3.516 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004528/9.085, allocations: 1.011 MB / 3.517 GB, free: 12.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004169/9.089, allocations: 2.313 MB / 3.519 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004994/9.094, allocations: 2.744 MB / 3.522 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/9.094, allocations: 8 kB / 3.522 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/9.096, allocations: 0.787 MB / 3.522 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004911/9.101, allocations: 0.8821 MB / 3.523 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/9.106, allocations: 2.57 MB / 3.526 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/9.108, allocations: 1.428 MB / 3.527 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00253/9.11, allocations: 0.5095 MB / 3.528 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/9.11, allocations: 91.42 kB / 3.528 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/9.11, allocations: 0 / 3.528 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of Templates: time 0.4294/9.54, allocations: 71.45 MB / 3.598 GB, free: 55.34 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)