Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006348/0.006348, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001318/0.001318, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8089/0.8089, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.73 kB / 0.5857 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1734, allocations: 80.92 MB / 0.6647 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6421/0.8156, allocations: 300.3 MB / 0.958 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.07876/0.8944, allocations: 49.94 MB / 1.007 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01435/0.9088, allocations: 306.2 kB / 1.007 GB, free: 9.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01322/0.9221, allocations: 3.525 MB / 1.01 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03657/0.9587, allocations: 9.465 MB / 1.02 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02087/0.9796, allocations: 6.693 MB / 1.026 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03273/1.012, allocations: 18.5 MB / 1.044 GB, free: 3.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5768/1.589, allocations: 5.848 MB / 1.05 GB, free: 46.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02391/1.613, allocations: 7.565 MB / 1.057 GB, free: 46.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01419/1.627, allocations: 5.096 MB / 1.062 GB, free: 45.6 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.004346/1.632, allocations: 0.5668 MB / 1.063 GB, free: 45.6 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01784/1.65, allocations: 4.379 MB / 1.067 GB, free: 45.6 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004358/1.654, allocations: 1.506 MB / 1.069 GB, free: 45.34 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01199/1.666, allocations: 3.736 MB / 1.072 GB, free: 44.31 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02454/1.691, allocations: 10.44 MB / 1.083 GB, free: 43.08 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.691, allocations: 2 kB / 1.083 GB, free: 43.08 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/1.691, allocations: 0 / 1.083 GB, free: 43.08 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004839/1.691, allocations: 2.031 kB / 1.083 GB, free: 43.08 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02409/1.715, allocations: 7.488 MB / 1.09 GB, free: 39.68 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.715, allocations: 7.422 kB / 1.09 GB, free: 39.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/1.72, allocations: 0.7861 MB / 1.091 GB, free: 39.3 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/1.734, allocations: 5.352 MB / 1.096 GB, free: 38.19 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/1.734, allocations: 322.7 kB / 1.096 GB, free: 38.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/1.736, allocations: 434.8 kB / 1.097 GB, free: 38.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/1.749, allocations: 4.381 MB / 1.101 GB, free: 37.38 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/1.749, allocations: 17.94 kB / 1.101 GB, free: 37.37 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/1.75, allocations: 172.1 kB / 1.101 GB, free: 37.37 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/1.751, allocations: 125.8 kB / 1.101 GB, free: 37.37 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007158/1.758, allocations: 2.959 MB / 1.104 GB, free: 37.33 MB / 0.795 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.02929/1.787, allocations: 25.12 MB / 1.129 GB, free: 21.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/1.79, allocations: 2.759 MB / 1.131 GB, free: 20.3 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/1.792, allocations: 0.9983 MB / 1.132 GB, free: 20.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/1.794, allocations: 3.908 MB / 1.136 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/1.794, allocations: 71.94 kB / 1.136 GB, free: 15.83 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 3.737e-06/1.794, allocations: 0 / 1.136 GB, free: 15.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01019/1.804, allocations: 4.057 MB / 1.14 GB, free: 14.97 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.804, allocations: 78.41 kB / 1.14 GB, free: 14.9 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/1.811, allocations: 4.298 MB / 1.144 GB, free: 14.55 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006623/1.812, allocations: 79.2 kB / 1.144 GB, free: 14.52 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.814, allocations: 2.774 MB / 1.147 GB, free: 13.65 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.815, allocations: 0.7577 MB / 1.148 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007562/1.816, allocations: 0.576 MB / 1.148 GB, free: 13.11 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/1.816, allocations: 304.4 kB / 1.149 GB, free: 12.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.817, allocations: 0.8218 MB / 1.15 GB, free: 12.79 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/1.819, allocations: 1.818 MB / 1.151 GB, free: 11.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/1.822, allocations: 2.513 MB / 1.154 GB, free: 10.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/1.822, allocations: 5.188 kB / 1.154 GB, free: 10.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007829/1.83, allocations: 3.562 MB / 1.157 GB, free: 10.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.83, allocations: 14.12 kB / 1.157 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.83, allocations: 22.12 kB / 1.157 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/1.833, allocations: 0.5871 MB / 1.158 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.834, allocations: 0.5561 MB / 1.158 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/1.836, allocations: 2.685 MB / 1.161 GB, free: 8.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/1.84, allocations: 328.2 kB / 1.161 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/1.841, allocations: 134 kB / 1.161 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003293/1.844, allocations: 1.571 MB / 1.163 GB, free: 7.852 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001773/1.846, allocations: 1.795 MB / 1.165 GB, free: 6.684 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00299/1.849, allocations: 2.459 MB / 1.167 GB, free: 5.809 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.126e-05/1.849, allocations: 10.66 kB / 1.167 GB, free: 5.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006773/1.855, allocations: 3.318 MB / 1.17 GB, free: 5.344 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.856, allocations: 16.25 kB / 1.17 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.856, allocations: 21.38 kB / 1.17 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008537/1.856, allocations: 366.6 kB / 1.171 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.858, allocations: 0.5524 MB / 1.171 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006733/1.865, allocations: 8.461 MB / 1.18 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004778/1.87, allocations: 296.2 kB / 1.18 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004753/1.87, allocations: 132.2 kB / 1.18 GB, free: 14.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001056/1.871, allocations: 365.2 kB / 1.18 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001801/1.873, allocations: 0.5066 MB / 1.181 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/1.879, allocations: 3.561 MB / 1.184 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.911e-05/1.879, allocations: 36.48 kB / 1.184 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.88, allocations: 7.938 kB / 1.184 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004013/1.884, allocations: 2.433 MB / 1.187 GB, free: 10.63 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.0161/1.9, allocations: 8.2 MB / 1.195 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.9, allocations: 4 kB / 1.195 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/1.901, allocations: 362 kB / 1.195 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/1.902, allocations: 294.1 kB / 1.195 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.902, allocations: 67.22 kB / 1.195 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/1.904, allocations: 2.494 MB / 1.198 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.904, allocations: 8 kB / 1.198 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008408/1.912, allocations: 4.341 MB / 1.202 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.915, allocations: 0.8806 MB / 1.203 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009528/1.916, allocations: 44 kB / 1.203 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.919, allocations: 119.8 kB / 1.203 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/1.919, allocations: 152.7 kB / 1.203 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/1.919, allocations: 115.9 kB / 1.203 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004904/1.924, allocations: 2.844 MB / 1.206 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/1.924, allocations: 0 / 1.206 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01071/1.935, allocations: 3.242 MB / 1.209 GB, free: 6.148 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003342/1.938, allocations: 1.502 MB / 1.211 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008349/1.947, allocations: 4.43 MB / 1.215 GB, free: 464 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.947, allocations: 4.188 kB / 1.215 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/1.949, allocations: 1.241 MB / 1.216 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01343/1.962, allocations: 2.625 MB / 1.219 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.977, allocations: 9.017 MB / 1.228 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/1.98, allocations: 2.873 MB / 1.231 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004829/1.985, allocations: 1.149 MB / 1.232 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.986, allocations: 413.9 kB / 1.232 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/1.986, allocations: 0 / 1.232 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of Templates: time 0.1864/2.172, allocations: 105 MB / 1.335 GB, free: 7.91 MB / 0.9512 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)