Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008113/0.0008114, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006512/0.006513, allocations: 174.1 kB / 16.26 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7677/0.7677, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4316, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6441/1.076, allocations: 250.2 MB / 0.828 GB, free: 17.26 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01374/1.09, allocations: 9.609 MB / 0.8374 GB, free: 17.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/1.093, allocations: 71.97 kB / 0.8374 GB, free: 17.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/1.095, allocations: 0.8092 MB / 0.8382 GB, free: 17.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006812/1.102, allocations: 2.483 MB / 0.8406 GB, free: 17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005225/1.107, allocations: 1.93 MB / 0.8425 GB, free: 16.94 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007704/1.115, allocations: 5.432 MB / 0.8478 GB, free: 16.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/1.118, allocations: 1.28 MB / 0.8491 GB, free: 16.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004869/1.123, allocations: 1.682 MB / 0.8507 GB, free: 16.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/1.126, allocations: 1.228 MB / 0.8519 GB, free: 16.72 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003753/1.127, allocations: 63.02 kB / 0.852 GB, free: 16.72 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006948/1.134, allocations: 3.496 MB / 0.8554 GB, free: 16.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007832/1.134, allocations: 476.2 kB / 0.8559 GB, free: 16.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001603/1.136, allocations: 0.9068 MB / 0.8567 GB, free: 16.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006178/1.142, allocations: 3.687 MB / 0.8603 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.142, allocations: 2.625 kB / 0.8603 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.424e-06/1.142, allocations: 0 / 0.8603 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.519e-05/1.142, allocations: 0 / 0.8603 GB, free: 16.44 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003561/1.146, allocations: 2.122 MB / 0.8624 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.146, allocations: 8 kB / 0.8624 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/1.15, allocations: 0.6577 MB / 0.8631 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/1.152, allocations: 1.368 MB / 0.8644 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/1.152, allocations: 167.1 kB / 0.8646 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/1.153, allocations: 125.2 kB / 0.8647 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/1.155, allocations: 1.437 MB / 0.8661 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/1.155, allocations: 0 / 0.8661 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.155, allocations: 48.38 kB / 0.8661 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/1.155, allocations: 48.53 kB / 0.8662 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/1.158, allocations: 1.214 MB / 0.8674 GB, free: 14.4 MB / 0.6387 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.00746/1.165, allocations: 5.711 MB / 0.8729 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/1.167, allocations: 1.054 MB / 0.874 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000953/1.168, allocations: 0.5472 MB / 0.8745 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/1.168, allocations: 325.4 kB / 0.8748 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.169, allocations: 0.5833 MB / 0.8754 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 2.685e-06/1.169, allocations: 0 / 0.8754 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.008407/1.178, allocations: 3.647 MB / 0.8789 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.178, allocations: 93.11 kB / 0.879 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.18, allocations: 1.344 MB / 0.8803 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.18, allocations: 44.39 kB / 0.8804 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/1.18, allocations: 0.7388 MB / 0.8811 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/1.18, allocations: 317.3 kB / 0.8814 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.181, allocations: 95.58 kB / 0.8815 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/1.181, allocations: 342.7 kB / 0.8818 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009064/1.182, allocations: 469.3 kB / 0.8823 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.183, allocations: 0.685 MB / 0.8829 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.195, allocations: 3.643 MB / 0.8865 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.196, allocations: 7.344 kB / 0.8865 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003184/1.199, allocations: 1.584 MB / 0.8881 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.366e-05/1.199, allocations: 244.4 kB / 0.8883 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.199, allocations: 3.25 kB / 0.8883 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/1.2, allocations: 245.5 kB / 0.8885 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/1.2, allocations: 201.9 kB / 0.8887 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/1.204, allocations: 4.492 MB / 0.8931 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.205, allocations: 139.2 kB / 0.8932 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/1.206, allocations: 43.39 kB / 0.8933 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/1.206, allocations: 6.875 kB / 0.8933 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002628/1.208, allocations: 1.396 MB / 0.8947 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.208, allocations: 6.5 kB / 0.8947 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004753/1.209, allocations: 227.4 kB / 0.8949 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/1.209, allocations: 198.8 kB / 0.8951 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004262/1.214, allocations: 5.501 MB / 0.9004 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.215, allocations: 141.7 kB / 0.9006 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/1.216, allocations: 38.75 kB / 0.9006 GB, free: 14.48 MB / 0.6544 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 (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 (104): * Single equations (assignments): 98 * 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.0009011/1.216, allocations: 0.5118 MB / 0.9011 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/1.217, allocations: 163.8 kB / 0.9013 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/1.219, allocations: 1.329 MB / 0.9026 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.219, allocations: 8.938 kB / 0.9026 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.219, allocations: 7.875 kB / 0.9026 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/1.221, allocations: 1.183 MB / 0.9037 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/1.227, allocations: 3.11 MB / 0.9068 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.227, allocations: 7.312 kB / 0.9068 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.228, allocations: 197.5 kB / 0.907 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/1.228, allocations: 48.95 kB / 0.907 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.354e-05/1.228, allocations: 45.28 kB / 0.9071 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003924/1.229, allocations: 0.584 MB / 0.9076 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.229, allocations: 7.328 kB / 0.9076 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/1.233, allocations: 2.038 MB / 0.9096 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/1.234, allocations: 344.3 kB / 0.91 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/1.234, allocations: 23.23 kB / 0.91 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.236, allocations: 114.1 kB / 0.9101 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.236, allocations: 63.67 kB / 0.9101 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.082e-05/1.236, allocations: 40.17 kB / 0.9102 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001795/1.238, allocations: 0.9163 MB / 0.9111 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.238, allocations: 0 / 0.9111 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00352/1.241, allocations: 0.7079 MB / 0.9118 GB, free: 9.121 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (84): * Single equations (assignments): 82 * 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.0008222/1.242, allocations: 294.2 kB / 0.912 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004869/1.247, allocations: 2.6 MB / 0.9146 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.247, allocations: 0 / 0.9146 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.248, allocations: 0.6259 MB / 0.9152 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/1.253, allocations: 0.8246 MB / 0.916 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/1.26, allocations: 3.938 MB / 0.9198 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.262, allocations: 1.348 MB / 0.9212 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001876/1.263, allocations: 344.9 kB / 0.9215 GB, free: 164 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/1.264, allocations: 111.4 kB / 0.9216 GB, free: 52 kB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/1.264, allocations: 0 / 0.9216 GB, free: 52 kB / 0.6544 GB Notification: Performance of Templates: time 0.05574/1.32, allocations: 31.54 MB / 0.9524 GB, free: 1.055 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)