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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007839/0.0007894, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005249/0.005249, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3891/0.3891, allocations: 55.01 MB / 325.8 MB, free: 0.5703 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005138, allocations: 16 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3514, allocations: 60.71 MB / 458 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.5847/0.9362, allocations: 250.2 MB / 0.6916 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01775/0.954, allocations: 9.412 MB / 0.7008 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004322/0.9584, allocations: 66.28 kB / 0.7008 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003807/0.9622, allocations: 0.8914 MB / 0.7017 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009568/0.9718, allocations: 2.416 MB / 0.704 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007266/0.9791, allocations: 2.004 MB / 0.706 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008457/0.9875, allocations: 5.921 MB / 0.7118 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.9902, allocations: 1.327 MB / 0.7131 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.9944, allocations: 1.582 MB / 0.7146 GB, free: 16.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.9977, allocations: 1.359 MB / 0.716 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.9981, allocations: 66.69 kB / 0.716 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00629/1.004, allocations: 3.157 MB / 0.7191 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009176/1.005, allocations: 0.5336 MB / 0.7196 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/1.007, allocations: 0.9808 MB / 0.7206 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006573/1.014, allocations: 3.754 MB / 0.7242 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.014, allocations: 0 / 0.7242 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.274e-06/1.014, allocations: 2.531 kB / 0.7242 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.255e-05/1.014, allocations: 0 / 0.7242 GB, free: 13.91 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.004234/1.018, allocations: 2.197 MB / 0.7264 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.018, allocations: 9.406 kB / 0.7264 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/1.022, allocations: 0.6365 MB / 0.727 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/1.025, allocations: 1.393 MB / 0.7284 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/1.026, allocations: 165.7 kB / 0.7285 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/1.026, allocations: 137.2 kB / 0.7287 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/1.029, allocations: 1.664 MB / 0.7303 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.029, allocations: 0 / 0.7303 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/1.029, allocations: 61.12 kB / 0.7304 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/1.03, allocations: 45.25 kB / 0.7304 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/1.033, allocations: 1.417 MB / 0.7318 GB, free: 10.67 MB / 0.5137 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.009408/1.042, allocations: 6.109 MB / 0.7377 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/1.044, allocations: 1.071 MB / 0.7388 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009773/1.045, allocations: 0.5101 MB / 0.7393 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/1.046, allocations: 143.7 kB / 0.7394 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/1.047, allocations: 0.7972 MB / 0.7402 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=82): time 2.325e-06/1.047, allocations: 0 / 0.7402 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90): time 0.01157/1.059, allocations: 4.406 MB / 0.7445 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/1.059, allocations: 380.8 kB / 0.7449 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/1.061, allocations: 1.468 MB / 0.7463 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.061, allocations: 49.69 kB / 0.7464 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/1.062, allocations: 0.7971 MB / 0.7471 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/1.062, allocations: 313 kB / 0.7474 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.063, allocations: 97.66 kB / 0.7475 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.063, allocations: 349.9 kB / 0.7479 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/1.064, allocations: 0.514 MB / 0.7484 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/1.065, allocations: 0.8198 MB / 0.7492 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/1.081, allocations: 3.898 MB / 0.753 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.081, allocations: 3.938 kB / 0.753 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005251/1.086, allocations: 1.926 MB / 0.7549 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/1.086, allocations: 265.6 kB / 0.7551 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.086, allocations: 4 kB / 0.7551 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008411/1.087, allocations: 312.9 kB / 0.7554 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/1.088, allocations: 220.5 kB / 0.7556 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009108/1.097, allocations: 6.288 MB / 0.7618 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.099, allocations: 180.5 kB / 0.7619 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/1.1, allocations: 43.98 kB / 0.762 GB, free: 14.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/1.1, allocations: 4 kB / 0.762 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003043/1.103, allocations: 1.456 MB / 0.7634 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.103, allocations: 8 kB / 0.7634 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/1.103, allocations: 221.6 kB / 0.7636 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/1.104, allocations: 211.5 kB / 0.7638 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005585/1.11, allocations: 5.516 MB / 0.7692 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.112, allocations: 151.2 kB / 0.7694 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.112, allocations: 43.98 kB / 0.7694 GB, free: 6.543 MB / 0.545 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: 21 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 107 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001461/1.113, allocations: 0.523 MB / 0.7699 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/1.114, allocations: 177.9 kB / 0.7701 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/1.118, allocations: 1.523 MB / 0.7716 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.118, allocations: 11.94 kB / 0.7716 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.118, allocations: 0 / 0.7716 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003471/1.122, allocations: 1.371 MB / 0.7729 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007452/1.129, allocations: 3.43 MB / 0.7763 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.129, allocations: 4 kB / 0.7763 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/1.13, allocations: 193 kB / 0.7764 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003871/1.131, allocations: 132.8 kB / 0.7766 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/1.131, allocations: 34.89 kB / 0.7766 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/1.135, allocations: 2.179 MB / 0.7787 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.135, allocations: 0 / 0.7787 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005373/1.14, allocations: 2.23 MB / 0.7809 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009467/1.141, allocations: 370.9 kB / 0.7813 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/1.142, allocations: 24 kB / 0.7813 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.144, allocations: 143.7 kB / 0.7814 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.144, allocations: 59.48 kB / 0.7815 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.144, allocations: 40.22 kB / 0.7815 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001795/1.146, allocations: 1.002 MB / 0.7825 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.146, allocations: 4 kB / 0.7825 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002982/1.149, allocations: 0.7734 MB / 0.7833 GB, free: 8.023 MB / 0.5606 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006345/1.149, allocations: 285.4 kB / 0.7835 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00518/1.154, allocations: 2.842 MB / 0.7863 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.154, allocations: 0 / 0.7863 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.156, allocations: 0.7643 MB / 0.7871 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/1.161, allocations: 0.8984 MB / 0.7879 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00772/1.169, allocations: 4.099 MB / 0.7919 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.17, allocations: 1.389 MB / 0.7933 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002167/1.173, allocations: 366 kB / 0.7936 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/1.173, allocations: 115.4 kB / 0.7937 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/1.173, allocations: 0 / 0.7937 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.05963/1.233, allocations: 36.55 MB / 0.8294 GB, free: 8.965 MB / 0.6075 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: