Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006028/0.006028, allocations: 100.2 kB / 15.87 MB, free: 6.332 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.001268/0.001268, allocations: 199 kB / 16.79 MB, free: 6.258 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 60.23 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1777, allocations: 80.92 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3979/0.5757, allocations: 74.73 MB / 0.6573 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02025/0.596, allocations: 15.19 MB / 0.6722 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003497/0.5995, allocations: 64.56 kB / 0.6722 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.6024, allocations: 0.6775 MB / 0.6729 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008476/0.6109, allocations: 2.37 MB / 0.6752 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.6156, allocations: 1.274 MB / 0.6764 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.6262, allocations: 5.56 MB / 0.6819 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/0.6292, allocations: 1.191 MB / 0.683 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.6337, allocations: 1.375 MB / 0.6844 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.6374, allocations: 1.196 MB / 0.6855 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.6379, allocations: 72.88 kB / 0.6856 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004793/0.6427, allocations: 1.255 MB / 0.6868 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.6433, allocations: 316.1 kB / 0.6871 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.6454, allocations: 0.816 MB / 0.6879 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.6501, allocations: 2.202 MB / 0.6901 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6501, allocations: 1.406 kB / 0.6901 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6501, allocations: 1.5 kB / 0.6901 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.757e-05/0.6502, allocations: 0 / 0.6901 GB, free: 4.32 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005669/0.6559, allocations: 2.081 MB / 0.6921 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6559, allocations: 10.59 kB / 0.6921 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009734/0.6569, allocations: 234.8 kB / 0.6924 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.6601, allocations: 1.489 MB / 0.6938 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.6602, allocations: 76.34 kB / 0.6939 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.6604, allocations: 105.5 kB / 0.694 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.6629, allocations: 1.102 MB / 0.6951 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.6629, allocations: 1.516 kB / 0.6951 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/0.663, allocations: 40.84 kB / 0.6951 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.6631, allocations: 25.67 kB / 0.6951 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.6652, allocations: 0.8946 MB / 0.696 GB, free: 1.027 MB / 0.5137 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.007724/0.6729, allocations: 4.895 MB / 0.7008 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.6745, allocations: 0.6194 MB / 0.7014 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/0.6753, allocations: 346.5 kB / 0.7017 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007616/0.676, allocations: 0.8313 MB / 0.7025 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6761, allocations: 37.81 kB / 0.7026 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.055e-06/0.6761, allocations: 0 / 0.7026 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.00743/0.6835, allocations: 1.693 MB / 0.7042 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.6836, allocations: 62.66 kB / 0.7043 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.6859, allocations: 1.212 MB / 0.7055 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.6861, allocations: 42.42 kB / 0.7055 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/0.6866, allocations: 0.6066 MB / 0.7061 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.6869, allocations: 212.5 kB / 0.7063 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.6872, allocations: 151.6 kB / 0.7064 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6874, allocations: 337.7 kB / 0.7068 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.6881, allocations: 293.1 kB / 0.707 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008992/0.689, allocations: 0.4936 MB / 0.7075 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.6905, allocations: 0.7086 MB / 0.7082 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6905, allocations: 1.062 kB / 0.7082 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004942/0.6954, allocations: 1.273 MB / 0.7095 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.6955, allocations: 5.812 kB / 0.7095 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6955, allocations: 4.469 kB / 0.7095 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.6961, allocations: 134.7 kB / 0.7096 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.6968, allocations: 161.6 kB / 0.7097 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008803/0.6977, allocations: 0.7133 MB / 0.7104 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.6992, allocations: 149.4 kB / 0.7106 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.6993, allocations: 31.58 kB / 0.7106 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/0.7005, allocations: 0.555 MB / 0.7112 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007997/0.7013, allocations: 499.1 kB / 0.7116 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001372/0.7027, allocations: 0.7041 MB / 0.7123 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/0.7027, allocations: 1.875 kB / 0.7123 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00485/0.7076, allocations: 1.268 MB / 0.7136 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7076, allocations: 6.031 kB / 0.7136 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7076, allocations: 4.438 kB / 0.7136 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.7082, allocations: 138.7 kB / 0.7137 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.7088, allocations: 161.2 kB / 0.7139 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000864/0.7097, allocations: 0.703 MB / 0.7145 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.7113, allocations: 128.5 kB / 0.7147 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/0.7114, allocations: 34.92 kB / 0.7147 GB, free: 5.062 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003814/0.7118, allocations: 234.6 kB / 0.7149 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.7121, allocations: 134.6 kB / 0.7151 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.7168, allocations: 1.264 MB / 0.7163 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.7168, allocations: 5.156 kB / 0.7163 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.7168, allocations: 2.812 kB / 0.7163 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004/0.7208, allocations: 1.112 MB / 0.7174 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007337/0.7282, allocations: 2.603 MB / 0.7199 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.7282, allocations: 8 kB / 0.7199 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.7287, allocations: 115.8 kB / 0.72 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.7292, allocations: 129.2 kB / 0.7202 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.7293, allocations: 23.98 kB / 0.7202 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.7339, allocations: 2.381 MB / 0.7225 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.7339, allocations: 4 kB / 0.7225 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/0.7398, allocations: 1.703 MB / 0.7242 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.7409, allocations: 311.2 kB / 0.7245 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005976/0.7415, allocations: 15.98 kB / 0.7245 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.743, allocations: 83.89 kB / 0.7246 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.7432, allocations: 60.3 kB / 0.7246 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/0.7433, allocations: 27.98 kB / 0.7247 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001822/0.7451, allocations: 0.874 MB / 0.7255 GB, free: 11.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7451, allocations: 0 / 0.7255 GB, free: 11.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002959/0.7481, allocations: 0.7135 MB / 0.7262 GB, free: 10.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/0.7493, allocations: 443.3 kB / 0.7266 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002798/0.7521, allocations: 1.113 MB / 0.7277 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7521, allocations: 4 kB / 0.7277 GB, free: 9.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.7536, allocations: 0.553 MB / 0.7283 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.7577, allocations: 0.7551 MB / 0.729 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/0.7623, allocations: 2.802 MB / 0.7317 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/0.7631, allocations: 1.169 MB / 0.7329 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.7635, allocations: 111.4 kB / 0.733 GB, free: 3.926 MB / 0.545 GB Notification: Performance of SimCode: time 1.372e-06/0.7635, allocations: 0 / 0.733 GB, free: 3.926 MB / 0.545 GB Notification: Performance of Templates: time 0.0433/0.8068, allocations: 30.96 MB / 0.7632 GB, free: 5.16 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)