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.0009972/0.0009972, allocations: 89.16 kB / 16.02 MB, free: 80 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.001633/0.001632, allocations: 187.4 kB / 16.92 MB, free: 6.68 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9367/0.9367, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 10.03 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 82.32 MB / 0.5886 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9511/1.123, allocations: 294 MB / 0.8757 GB, free: 51.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06086/1.184, allocations: 49.62 MB / 0.9242 GB, free: 50.85 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/1.195, allocations: 263.1 kB / 0.9244 GB, free: 50.85 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01145/1.207, allocations: 2.777 MB / 0.9271 GB, free: 50.79 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02795/1.235, allocations: 8.396 MB / 0.9353 GB, free: 50.42 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01805/1.253, allocations: 6.011 MB / 0.9412 GB, free: 50.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03256/1.286, allocations: 24.55 MB / 0.9652 GB, free: 42.94 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00928/1.295, allocations: 4.726 MB / 0.9698 GB, free: 40.2 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0166/1.312, allocations: 6.197 MB / 0.9758 GB, free: 37.69 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/1.322, allocations: 4.908 MB / 0.9806 GB, free: 35.29 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00229/1.324, allocations: 229.1 kB / 0.9808 GB, free: 35.29 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/1.339, allocations: 3.901 MB / 0.9847 GB, free: 33.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003047/1.342, allocations: 1.133 MB / 0.9858 GB, free: 32.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.007959/1.35, allocations: 3.326 MB / 0.989 GB, free: 29.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.362, allocations: 7.714 MB / 0.9965 GB, free: 22.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.362, allocations: 4 kB / 0.9965 GB, free: 22.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.996e-06/1.362, allocations: 0 / 0.9965 GB, free: 22.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003413/1.362, allocations: 0 / 0.9965 GB, free: 22.2 MB / 0.67 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.01081/1.373, allocations: 6.191 MB / 1.003 GB, free: 15.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.373, allocations: 8.031 kB / 1.003 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/1.375, allocations: 0.7841 MB / 1.003 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008262/1.384, allocations: 5.225 MB / 1.008 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/1.384, allocations: 316.1 kB / 1.009 GB, free: 9.707 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005944/1.385, allocations: 432 kB / 1.009 GB, free: 9.285 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006126/1.391, allocations: 4.38 MB / 1.013 GB, free: 4.633 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.001e-05/1.391, allocations: 23.78 kB / 1.013 GB, free: 4.609 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/1.391, allocations: 172 kB / 1.014 GB, free: 4.441 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/1.391, allocations: 123.9 kB / 1.014 GB, free: 4.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/1.396, allocations: 2.965 MB / 1.017 GB, free: 1.352 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.02842/1.424, allocations: 25.04 MB / 1.041 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/1.427, allocations: 2.771 MB / 1.044 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/1.429, allocations: 0.9954 MB / 1.045 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/1.432, allocations: 3.92 MB / 1.049 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.253e-05/1.432, allocations: 68.56 kB / 1.049 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 4.097e-06/1.432, allocations: 0 / 1.049 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01046/1.442, allocations: 4.109 MB / 1.053 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.442, allocations: 77.34 kB / 1.053 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006689/1.449, allocations: 4.228 MB / 1.057 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005359/1.45, allocations: 85.7 kB / 1.057 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.452, allocations: 2.797 MB / 1.06 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009598/1.453, allocations: 0.7605 MB / 1.06 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.453, allocations: 231.6 kB / 1.061 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/1.453, allocations: 305.1 kB / 1.061 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.454, allocations: 0.8099 MB / 1.062 GB, free: 180 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/1.457, allocations: 1.822 MB / 1.064 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/1.46, allocations: 2.529 MB / 1.066 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.46, allocations: 4 kB / 1.066 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007671/1.468, allocations: 3.572 MB / 1.07 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005213/1.468, allocations: 0.7394 MB / 1.07 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.468, allocations: 20 kB / 1.07 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/1.471, allocations: 0.5884 MB / 1.071 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/1.473, allocations: 0.5538 MB / 1.071 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.475, allocations: 2.687 MB / 1.074 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005215/1.48, allocations: 0.6064 MB / 1.075 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004813/1.481, allocations: 135.9 kB / 1.075 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.481, allocations: 4 kB / 1.075 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00522/1.486, allocations: 2.829 MB / 1.077 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/1.486, allocations: 24 kB / 1.077 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009577/1.487, allocations: 365.7 kB / 1.078 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.489, allocations: 0.5538 MB / 1.078 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/1.497, allocations: 7.72 MB / 1.086 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005125/1.502, allocations: 0.5585 MB / 1.086 GB, free: 5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/1.502, allocations: 135.9 kB / 1.087 GB, free: 4.867 MB / 0.7481 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.002484/1.505, allocations: 1.001 MB / 1.088 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.506, allocations: 0.5133 MB / 1.088 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006411/1.513, allocations: 3.573 MB / 1.092 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/1.513, allocations: 39.97 kB / 1.092 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.513, allocations: 0 / 1.092 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003801/1.517, allocations: 2.445 MB / 1.094 GB, free: 13.18 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.01548/1.532, allocations: 8.219 MB / 1.102 GB, free: 4.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.532, allocations: 4 kB / 1.102 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.533, allocations: 367.6 kB / 1.102 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006866/1.534, allocations: 307.7 kB / 1.103 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.534, allocations: 71.91 kB / 1.103 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/1.536, allocations: 2.494 MB / 1.105 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.536, allocations: 7.922 kB / 1.105 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007702/1.544, allocations: 4.343 MB / 1.109 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/1.547, allocations: 0.974 MB / 1.11 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.548, allocations: 51.92 kB / 1.11 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/1.552, allocations: 422.9 kB / 1.111 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/1.552, allocations: 153.8 kB / 1.111 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/1.552, allocations: 115.9 kB / 1.111 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00506/1.557, allocations: 2.793 MB / 1.114 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.01e-07/1.557, allocations: 0 / 1.114 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01213/1.569, allocations: 3.277 MB / 1.117 GB, free: 5.219 MB / 0.7794 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.003513/1.573, allocations: 1.495 MB / 1.118 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008636/1.582, allocations: 4.454 MB / 1.123 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.582, allocations: 4.875 kB / 1.123 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.584, allocations: 1.233 MB / 1.124 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01593/1.6, allocations: 2.65 MB / 1.127 GB, free: 11.49 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/1.617, allocations: 11.64 MB / 1.138 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/1.62, allocations: 2.858 MB / 1.141 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/1.622, allocations: 431.2 kB / 1.141 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of SimCode: time 1.242e-06/1.622, allocations: 3.938 kB / 1.141 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.5082/2.13, allocations: 190.3 MB / 1.327 GB, free: 207 MB / 0.8106 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)