Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001183/0.001184, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7449/0.7449, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 68.33 kB / 0.5018 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4019, allocations: 80.2 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.632/1.034, allocations: 300.3 MB / 0.8733 GB, free: 66.36 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06254/1.097, allocations: 49.96 MB / 0.9221 GB, free: 58.53 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01562/1.112, allocations: 298.4 kB / 0.9224 GB, free: 58.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01484/1.127, allocations: 3.418 MB / 0.9258 GB, free: 56.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02909/1.156, allocations: 9.016 MB / 0.9346 GB, free: 50.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01985/1.176, allocations: 6.572 MB / 0.941 GB, free: 46.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.025/1.201, allocations: 18.44 MB / 0.959 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/1.213, allocations: 5.863 MB / 0.9647 GB, free: 22.28 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01873/1.232, allocations: 7.344 MB / 0.9719 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00974/1.242, allocations: 5.085 MB / 0.9768 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003208/1.245, allocations: 0.5664 MB / 0.9774 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/1.259, allocations: 4.384 MB / 0.9817 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003472/1.263, allocations: 1.503 MB / 0.9831 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01161/1.275, allocations: 3.739 MB / 0.9868 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02568/1.3, allocations: 10.31 MB / 0.9969 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.3, allocations: 0 / 0.9969 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/1.3, allocations: 0 / 0.9969 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004904/1.301, allocations: 0 / 0.9969 GB, free: 6.973 MB / 0.6544 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.01934/1.32, allocations: 7.479 MB / 1.004 GB, free: 15.44 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.32, allocations: 8.031 kB / 1.004 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/1.324, allocations: 0.792 MB / 1.005 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.336, allocations: 5.04 MB / 1.01 GB, free: 9.672 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/1.336, allocations: 322.1 kB / 1.01 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.337, allocations: 435.7 kB / 1.011 GB, free: 8.934 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00807/1.345, allocations: 4.381 MB / 1.015 GB, free: 4.277 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-05/1.346, allocations: 11.84 kB / 1.015 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/1.346, allocations: 176 kB / 1.015 GB, free: 4.094 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/1.346, allocations: 119.9 kB / 1.015 GB, free: 3.977 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005084/1.351, allocations: 2.961 MB / 1.018 GB, free: 1.012 MB / 0.67 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.03105/1.382, allocations: 25.28 MB / 1.043 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/1.385, allocations: 2.759 MB / 1.045 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.387, allocations: 0.9935 MB / 1.046 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002889/1.39, allocations: 3.908 MB / 1.05 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/1.39, allocations: 60.56 kB / 1.05 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 3.767e-06/1.39, allocations: 3.938 kB / 1.05 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01271/1.403, allocations: 4.078 MB / 1.054 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.403, allocations: 73.41 kB / 1.054 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008073/1.411, allocations: 4.31 MB / 1.059 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006271/1.411, allocations: 77.7 kB / 1.059 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002242/1.414, allocations: 2.775 MB / 1.061 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009816/1.415, allocations: 0.7641 MB / 1.062 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007253/1.415, allocations: 0.5723 MB / 1.063 GB, free: 372 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.415, allocations: 301.1 kB / 1.063 GB, free: 68 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/1.417, allocations: 0.8165 MB / 1.064 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/1.419, allocations: 1.83 MB / 1.066 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/1.422, allocations: 2.513 MB / 1.068 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.422, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007831/1.43, allocations: 3.548 MB / 1.071 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.43, allocations: 16 kB / 1.071 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/1.43, allocations: 23.98 kB / 1.071 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/1.433, allocations: 0.5908 MB / 1.072 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/1.434, allocations: 0.5499 MB / 1.073 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/1.437, allocations: 2.691 MB / 1.075 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/1.44, allocations: 337 kB / 1.076 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/1.44, allocations: 140 kB / 1.076 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002933/1.443, allocations: 1.568 MB / 1.077 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002075/1.445, allocations: 1.794 MB / 1.079 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003219/1.449, allocations: 2.46 MB / 1.081 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-05/1.449, allocations: 11.94 kB / 1.081 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006794/1.455, allocations: 3.309 MB / 1.085 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.456, allocations: 16 kB / 1.085 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.456, allocations: 20 kB / 1.085 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/1.457, allocations: 382.9 kB / 1.085 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.458, allocations: 0.5577 MB / 1.086 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007738/1.466, allocations: 8.453 MB / 1.094 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/1.47, allocations: 312 kB / 1.094 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004273/1.471, allocations: 132 kB / 1.094 GB, free: 13.65 MB / 0.7637 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.0007558/1.472, allocations: 363.8 kB / 1.095 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/1.473, allocations: 0.5055 MB / 1.095 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006184/1.48, allocations: 3.566 MB / 1.099 GB, free: 9.152 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/1.48, allocations: 35.97 kB / 1.099 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.48, allocations: 0 / 1.099 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003846/1.483, allocations: 2.439 MB / 1.101 GB, free: 6.633 MB / 0.7637 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.3556/1.839, allocations: 8.254 MB / 1.109 GB, free: 320.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.839, allocations: 1.828 kB / 1.109 GB, free: 320.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.84, allocations: 364 kB / 1.109 GB, free: 320.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006996/1.841, allocations: 301.4 kB / 1.11 GB, free: 320.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.841, allocations: 66.84 kB / 1.11 GB, free: 320.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/1.843, allocations: 2.496 MB / 1.112 GB, free: 318.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.843, allocations: 0.5156 kB / 1.112 GB, free: 318.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008243/1.851, allocations: 4.346 MB / 1.116 GB, free: 317.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002969/1.854, allocations: 0.8809 MB / 1.117 GB, free: 316.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009908/1.855, allocations: 47.86 kB / 1.117 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/1.858, allocations: 117.9 kB / 1.117 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/1.858, allocations: 154.2 kB / 1.118 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.858, allocations: 112.9 kB / 1.118 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.005369/1.864, allocations: 2.851 MB / 1.12 GB, free: 315.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.91e-07/1.864, allocations: 0 / 1.12 GB, free: 315.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01068/1.874, allocations: 3.229 MB / 1.124 GB, free: 315.4 MB / 0.7637 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.003599/1.878, allocations: 1.513 MB / 1.125 GB, free: 315.2 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01403/1.892, allocations: 4.864 MB / 1.13 GB, free: 313.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/1.892, allocations: 2.25 kB / 1.13 GB, free: 313.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00242/1.895, allocations: 1.238 MB / 1.131 GB, free: 312.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/1.908, allocations: 2.645 MB / 1.134 GB, free: 312.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.921, allocations: 9.17 MB / 1.143 GB, free: 308 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/1.923, allocations: 2.866 MB / 1.145 GB, free: 307.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004775/1.928, allocations: 1.151 MB / 1.147 GB, free: 306.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009277/1.929, allocations: 416.2 kB / 1.147 GB, free: 306.8 MB / 0.7637 GB Notification: Performance of SimCode: time 9.52e-07/1.929, allocations: 2.125 kB / 1.147 GB, free: 306.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.1398/2.068, allocations: 108.2 MB / 1.253 GB, free: 206.6 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)