Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.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_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T") translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.319/0.319, allocations: 54.41 MB / 61.89 MB, free: 13.75 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.001111/0.001111, allocations: 184.1 kB / 75.6 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.597/1.597, allocations: 194.3 MB / 283.5 MB, free: 14.85 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.00158/0.00158, allocations: 125.9 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 4.219 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3967, allocations: 57.65 MB / 463.2 MB, free: 51.69 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7455/1.142, allocations: 328.5 MB / 0.7731 GB, free: 12.67 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/1.143, allocations: 85.44 kB / 0.7731 GB, free: 12.63 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.974/4.117, allocations: 0.6538 GB / 1.427 GB, free: 48.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/4.117, allocations: 0 / 1.427 GB, free: 48.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003069/4.117, allocations: 45.22 kB / 1.427 GB, free: 48.69 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.006184/4.123, allocations: 1.801 MB / 1.429 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/4.123, allocations: 9.594 kB / 1.429 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/4.127, allocations: 0.6117 MB / 1.429 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/4.132, allocations: 1.292 MB / 1.431 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/4.132, allocations: 33.72 kB / 1.431 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/4.133, allocations: 68.16 kB / 1.431 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002102/4.135, allocations: 0.8551 MB / 1.432 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/4.137, allocations: 1.17 MB / 1.433 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/4.137, allocations: 8.844 kB / 1.433 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/4.137, allocations: 6.531 kB / 1.433 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/4.137, allocations: 32.69 kB / 1.433 GB, free: 47.21 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.009292/4.146, allocations: 7.408 MB / 1.44 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/4.148, allocations: 0.8413 MB / 1.441 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/4.148, allocations: 425.9 kB / 1.441 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/4.15, allocations: 1.6 MB / 1.443 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/4.15, allocations: 0.6533 MB / 1.443 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 3.336e-06/4.15, allocations: 0 / 1.443 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.003589/4.154, allocations: 1.255 MB / 1.445 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/4.154, allocations: 352.5 kB / 1.445 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/4.155, allocations: 0.8541 MB / 1.446 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/4.156, allocations: 32.25 kB / 1.446 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/4.156, allocations: 0.7182 MB / 1.447 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/4.156, allocations: 281.4 kB / 1.447 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/4.157, allocations: 3.312 kB / 1.447 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001008/4.157, allocations: 347.9 kB / 1.447 GB, free: 38.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/4.157, allocations: 391.2 kB / 1.447 GB, free: 38.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/4.158, allocations: 0.6898 MB / 1.448 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/4.16, allocations: 0.6503 MB / 1.449 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/4.16, allocations: 0 / 1.449 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002952/4.163, allocations: 1.384 MB / 1.45 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007199/4.163, allocations: 2.669 MB / 1.453 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/4.163, allocations: 7.688 kB / 1.453 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/4.163, allocations: 10.81 kB / 1.453 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/4.165, allocations: 316.1 kB / 1.453 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/4.165, allocations: 14.25 kB / 1.453 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/4.167, allocations: 267.1 kB / 1.453 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/4.167, allocations: 60.62 kB / 1.453 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/4.167, allocations: 3.875 kB / 1.453 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003238/4.171, allocations: 1.228 MB / 1.455 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/4.171, allocations: 6.719 kB / 1.455 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/4.171, allocations: 13.97 kB / 1.455 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/4.172, allocations: 286.4 kB / 1.455 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/4.172, allocations: 20.28 kB / 1.455 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/4.174, allocations: 227.6 kB / 1.455 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/4.174, allocations: 53.62 kB / 1.455 GB, free: 35.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004069/4.174, allocations: 246.8 kB / 1.455 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/4.175, allocations: 144.9 kB / 1.456 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/4.179, allocations: 1.739 MB / 1.457 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/4.179, allocations: 15.45 kB / 1.457 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/4.179, allocations: 7.938 kB / 1.457 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/4.179, allocations: 3.703 kB / 1.457 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/4.181, allocations: 1.133 MB / 1.458 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/4.181, allocations: 1.312 kB / 1.458 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/4.183, allocations: 225.7 kB / 1.459 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/4.183, allocations: 2.594 kB / 1.459 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/4.183, allocations: 30.48 kB / 1.459 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/4.183, allocations: 3.188 kB / 1.459 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/4.183, allocations: 3.031 kB / 1.459 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/4.187, allocations: 2.037 MB / 1.461 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007547/4.188, allocations: 233 kB / 1.461 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/4.188, allocations: 15.88 kB / 1.461 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/4.19, allocations: 171.5 kB / 1.461 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/4.19, allocations: 58.7 kB / 1.461 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/4.19, allocations: 43.31 kB / 1.461 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001249/4.192, allocations: 0.6782 MB / 1.462 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/4.192, allocations: 0 / 1.462 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003499/4.195, allocations: 0.8701 MB / 1.463 GB, free: 34.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001936/4.197, allocations: 0.897 MB / 1.464 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003383/4.201, allocations: 2.124 MB / 1.466 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/4.201, allocations: 2.625 kB / 1.466 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/4.202, allocations: 0.7748 MB / 1.466 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/4.205, allocations: 438.3 kB / 1.467 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/4.21, allocations: 2.192 MB / 1.469 GB, free: 33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009858/4.211, allocations: 1.271 MB / 1.47 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002575/4.214, allocations: 448.1 kB / 1.471 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/4.214, allocations: 107.6 kB / 1.471 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/4.214, allocations: 0 / 1.471 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.06008/4.274, allocations: 28.5 MB / 1.499 GB, free: 30.39 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe 2>&1)