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.00129/0.001289, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001422/0.001422, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.956/0.956, allocations: 135.2 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 72.66 kB / 0.5049 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1502, allocations: 80.93 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9481/1.098, allocations: 297.5 MB / 0.8744 GB, free: 51.19 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06258/1.161, allocations: 49.65 MB / 0.9229 GB, free: 50.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01597/1.177, allocations: 272.7 kB / 0.9232 GB, free: 50.5 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01157/1.189, allocations: 2.943 MB / 0.926 GB, free: 50.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02737/1.216, allocations: 8.398 MB / 0.9343 GB, free: 50.06 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02015/1.236, allocations: 6.084 MB / 0.9402 GB, free: 49.89 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02744/1.264, allocations: 18.56 MB / 0.9583 GB, free: 43.54 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/1.276, allocations: 5.785 MB / 0.964 GB, free: 40.8 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01915/1.295, allocations: 7.429 MB / 0.9712 GB, free: 36.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009387/1.304, allocations: 5.232 MB / 0.9763 GB, free: 34.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002824/1.307, allocations: 0.5638 MB / 0.9769 GB, free: 34.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/1.32, allocations: 4.438 MB / 0.9812 GB, free: 32.07 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002731/1.323, allocations: 1.511 MB / 0.9827 GB, free: 30.89 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008052/1.331, allocations: 3.744 MB / 0.9863 GB, free: 27.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01966/1.351, allocations: 10.38 MB / 0.9965 GB, free: 17.53 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.351, allocations: 0 / 0.9965 GB, free: 17.53 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.314e-06/1.351, allocations: 0 / 0.9965 GB, free: 17.53 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003698/1.351, allocations: 0 / 0.9965 GB, free: 17.53 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.01399/1.365, allocations: 7.476 MB / 1.004 GB, free: 10 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/1.365, allocations: 12.02 kB / 1.004 GB, free: 9.992 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/1.368, allocations: 0.7842 MB / 1.005 GB, free: 9.199 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009387/1.378, allocations: 5.215 MB / 1.01 GB, free: 4.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/1.378, allocations: 322.1 kB / 1.01 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000909/1.379, allocations: 434.6 kB / 1.01 GB, free: 3.332 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008908/1.388, allocations: 4.384 MB / 1.015 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/1.388, allocations: 11.88 kB / 1.015 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007339/1.389, allocations: 175.9 kB / 1.015 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/1.389, allocations: 124 kB / 1.015 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/1.396, allocations: 2.957 MB / 1.018 GB, free: 11.41 MB / 0.6856 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.03523/1.432, allocations: 25.01 MB / 1.042 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/1.436, allocations: 2.762 MB / 1.045 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/1.437, allocations: 0.9993 MB / 1.046 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003075/1.44, allocations: 3.907 MB / 1.05 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.826e-05/1.441, allocations: 68.56 kB / 1.05 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 4.057e-06/1.441, allocations: 0 / 1.05 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01155/1.452, allocations: 4.062 MB / 1.054 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.452, allocations: 73.41 kB / 1.054 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008559/1.461, allocations: 4.236 MB / 1.058 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005955/1.461, allocations: 81.7 kB / 1.058 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002718/1.464, allocations: 2.802 MB / 1.061 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.465, allocations: 0.7565 MB / 1.062 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/1.467, allocations: 0.5724 MB / 1.062 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.467, allocations: 301.1 kB / 1.062 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.468, allocations: 0.8192 MB / 1.063 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/1.471, allocations: 1.826 MB / 1.065 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.475, allocations: 2.513 MB / 1.067 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.54e-05/1.475, allocations: 8 kB / 1.067 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009039/1.484, allocations: 3.557 MB / 1.071 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/1.484, allocations: 12 kB / 1.071 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/1.484, allocations: 24 kB / 1.071 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/1.487, allocations: 0.5887 MB / 1.072 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/1.489, allocations: 0.55 MB / 1.072 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/1.491, allocations: 2.691 MB / 1.075 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005326/1.497, allocations: 0.5906 MB / 1.075 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005499/1.497, allocations: 140 kB / 1.075 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004082/1.501, allocations: 1.564 MB / 1.077 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002936/1.504, allocations: 1.798 MB / 1.079 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004248/1.509, allocations: 2.459 MB / 1.081 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.975e-05/1.509, allocations: 8 kB / 1.081 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.008624/1.517, allocations: 3.314 MB / 1.084 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.517, allocations: 16 kB / 1.084 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/1.517, allocations: 20.09 kB / 1.084 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.518, allocations: 376.9 kB / 1.085 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.52, allocations: 0.5576 MB / 1.085 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/1.529, allocations: 8.463 MB / 1.094 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00515/1.534, allocations: 0.5596 MB / 1.094 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005176/1.535, allocations: 136 kB / 1.094 GB, free: 7.871 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.0009417/1.536, allocations: 367.8 kB / 1.095 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/1.538, allocations: 0.5055 MB / 1.095 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/1.545, allocations: 3.571 MB / 1.099 GB, free: 3.359 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/1.545, allocations: 43.97 kB / 1.099 GB, free: 3.316 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.545, allocations: 4 kB / 1.099 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004079/1.55, allocations: 2.429 MB / 1.101 GB, free: 0.8398 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.01817/1.568, allocations: 8.215 MB / 1.109 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.568, allocations: 0 / 1.109 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.569, allocations: 359.6 kB / 1.109 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/1.57, allocations: 304.7 kB / 1.11 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/1.57, allocations: 63.97 kB / 1.11 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/1.572, allocations: 2.501 MB / 1.112 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.572, allocations: 0 / 1.112 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008187/1.58, allocations: 4.344 MB / 1.116 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003517/1.584, allocations: 0.8806 MB / 1.117 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.585, allocations: 47.98 kB / 1.117 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004479/1.59, allocations: 415 kB / 1.118 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/1.59, allocations: 157.8 kB / 1.118 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003739/1.59, allocations: 111.9 kB / 1.118 GB, free: 15.06 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006153/1.597, allocations: 2.793 MB / 1.121 GB, free: 12.29 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.11e-07/1.597, allocations: 0 / 1.121 GB, free: 12.29 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01404/1.611, allocations: 3.269 MB / 1.124 GB, free: 9.016 MB / 0.795 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.003695/1.614, allocations: 1.457 MB / 1.125 GB, free: 7.668 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.628, allocations: 4.86 MB / 1.13 GB, free: 2.754 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.628, allocations: 4 kB / 1.13 GB, free: 2.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002659/1.63, allocations: 1.233 MB / 1.131 GB, free: 1.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01556/1.646, allocations: 2.64 MB / 1.134 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.668, allocations: 11.4 MB / 1.145 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004124/1.672, allocations: 2.877 MB / 1.148 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005103/1.677, allocations: 1.153 MB / 1.149 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009346/1.678, allocations: 415.2 kB / 1.149 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/1.678, allocations: 0 / 1.149 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.5036/2.182, allocations: 106.3 MB / 1.253 GB, free: 317.9 MB / 0.8262 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)