Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 152 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.001217/0.001217, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.083/1.083, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 60.34 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1758, allocations: 80.92 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3474/0.5232, allocations: 61.18 MB / 0.6441 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01357/0.5368, allocations: 11.99 MB / 0.6558 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.5393, allocations: 60.38 kB / 0.6559 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.5411, allocations: 0.6746 MB / 0.6565 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.5458, allocations: 1.968 MB / 0.6585 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.5489, allocations: 1.194 MB / 0.6596 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004803/0.5537, allocations: 3.075 MB / 0.6626 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.556, allocations: 1.096 MB / 0.6637 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/0.5608, allocations: 1.329 MB / 0.665 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.563, allocations: 0.8919 MB / 0.6659 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.5634, allocations: 114.9 kB / 0.666 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.5682, allocations: 1.454 MB / 0.6674 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.5687, allocations: 289.6 kB / 0.6677 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.57, allocations: 0.6936 MB / 0.6683 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.5765, allocations: 2.292 MB / 0.6706 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.5766, allocations: 1.062 kB / 0.6706 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.516e-06/0.5766, allocations: 0 / 0.6706 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.738e-05/0.5767, allocations: 0 / 0.6706 GB, free: 1.41 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005365/0.582, allocations: 1.734 MB / 0.6723 GB, free: 228 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.5821, allocations: 9.094 kB / 0.6723 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/0.5862, allocations: 411.1 kB / 0.6727 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.5901, allocations: 1.105 MB / 0.6738 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006632/0.5908, allocations: 119.4 kB / 0.6739 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.591, allocations: 78.38 kB / 0.6739 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.5947, allocations: 1.005 MB / 0.6749 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.5948, allocations: 4.875 kB / 0.6749 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.5949, allocations: 32.94 kB / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.595, allocations: 23.53 kB / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/0.5994, allocations: 0.8665 MB / 0.6758 GB, free: 14.57 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.01309/0.6125, allocations: 5.264 MB / 0.681 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/0.6188, allocations: 0.8007 MB / 0.6818 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.6203, allocations: 306 kB / 0.682 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.6215, allocations: 0.9053 MB / 0.6829 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.6216, allocations: 45.17 kB / 0.683 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 4.689e-06/0.6216, allocations: 0 / 0.683 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.01321/0.6348, allocations: 1.925 MB / 0.6849 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.6349, allocations: 61.34 kB / 0.6849 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.6372, allocations: 1.077 MB / 0.686 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.6373, allocations: 37.73 kB / 0.686 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/0.6379, allocations: 0.524 MB / 0.6865 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.6381, allocations: 154.7 kB / 0.6867 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.6385, allocations: 136.2 kB / 0.6868 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.6387, allocations: 330.8 kB / 0.6871 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.6399, allocations: 310.4 kB / 0.6874 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.6413, allocations: 0.5403 MB / 0.6879 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.6433, allocations: 0.7223 MB / 0.6886 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.6433, allocations: 6.469 kB / 0.6886 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00433/0.6477, allocations: 1.175 MB / 0.6898 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.6477, allocations: 6.375 kB / 0.6898 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.6477, allocations: 5.75 kB / 0.6898 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.6492, allocations: 323 kB / 0.6901 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.6498, allocations: 135.1 kB / 0.6902 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.6515, allocations: 0.9069 MB / 0.6911 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.6531, allocations: 161.7 kB / 0.6913 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.6533, allocations: 31.06 kB / 0.6913 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001536/0.6548, allocations: 0.5203 MB / 0.6918 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001216/0.6561, allocations: 0.5292 MB / 0.6923 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001831/0.6579, allocations: 0.7083 MB / 0.693 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.997e-06/0.6579, allocations: 2.25 kB / 0.693 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.004008/0.6619, allocations: 1.157 MB / 0.6942 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.662, allocations: 6.969 kB / 0.6942 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.662, allocations: 5.578 kB / 0.6942 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.6633, allocations: 317.5 kB / 0.6945 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.6638, allocations: 126.8 kB / 0.6946 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.6655, allocations: 0.9231 MB / 0.6955 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.667, allocations: 130.6 kB / 0.6956 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.6672, allocations: 38.2 kB / 0.6957 GB, free: 2.801 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.6675, allocations: 217.1 kB / 0.6959 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.6678, allocations: 116.5 kB / 0.696 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.6719, allocations: 1.118 MB / 0.6971 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.6719, allocations: 5.375 kB / 0.6971 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.672, allocations: 0 / 0.6971 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.672, allocations: 2.906 kB / 0.6971 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.6779, allocations: 2.201 MB / 0.6992 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.678, allocations: 1.344 kB / 0.6992 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.6783, allocations: 63.11 kB / 0.6993 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.6794, allocations: 317.7 kB / 0.6996 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.6794, allocations: 14.78 kB / 0.6996 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.681, allocations: 0.9463 MB / 0.7005 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.681, allocations: 6.875 kB / 0.7005 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.6851, allocations: 1.194 MB / 0.7017 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/0.6858, allocations: 264.7 kB / 0.7019 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.6862, allocations: 8.844 kB / 0.702 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6872, allocations: 74.91 kB / 0.702 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6873, allocations: 36.98 kB / 0.7021 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.6874, allocations: 23.23 kB / 0.7021 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001543/0.689, allocations: 0.7556 MB / 0.7028 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.689, allocations: 0 / 0.7028 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002274/0.6912, allocations: 0.5727 MB / 0.7034 GB, free: 14.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.6923, allocations: 396.8 kB / 0.7038 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003709/0.696, allocations: 1.164 MB / 0.7049 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6961, allocations: 0 / 0.7049 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.697, allocations: 356.3 kB / 0.7052 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.6999, allocations: 0.5085 MB / 0.7057 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/0.7061, allocations: 2.049 MB / 0.7077 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/0.707, allocations: 1.061 MB / 0.7088 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001198/0.7082, allocations: 231.3 kB / 0.709 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.7085, allocations: 78.45 kB / 0.7091 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.7085, allocations: 0 / 0.7091 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.04332/0.7518, allocations: 25.15 MB / 0.7336 GB, free: 3.324 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)