Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001464/0.001464, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001602/0.001602, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8168/0.8168, allocations: 132.2 MB / 423.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4459, allocations: 80.18 MB / 0.5807 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05389/0.4998, allocations: 61.21 MB / 0.6405 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.5182, allocations: 11.97 MB / 0.6522 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.5209, allocations: 59.62 kB / 0.6522 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.523, allocations: 0.6869 MB / 0.6529 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006163/0.5292, allocations: 1.955 MB / 0.6548 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.5326, allocations: 1.2 MB / 0.656 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004761/0.5374, allocations: 3.068 MB / 0.659 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.5392, allocations: 1.104 MB / 0.6601 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/0.543, allocations: 1.322 MB / 0.6614 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.5449, allocations: 0.8983 MB / 0.6622 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004415/0.5454, allocations: 120 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.5492, allocations: 1.45 MB / 0.6638 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.5498, allocations: 290.9 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.5515, allocations: 0.6919 MB / 0.6647 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005024/0.5565, allocations: 2.302 MB / 0.667 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5566, allocations: 0 / 0.667 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5566, allocations: 0 / 0.667 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.717e-05/0.5566, allocations: 0 / 0.667 GB, free: 5.711 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.00424/0.5609, allocations: 1.726 MB / 0.6687 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5609, allocations: 12.03 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.5632, allocations: 406.9 kB / 0.6691 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.5657, allocations: 1.108 MB / 0.6701 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.5661, allocations: 113.9 kB / 0.6702 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.5662, allocations: 76 kB / 0.6703 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5684, allocations: 1.016 MB / 0.6713 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5685, allocations: 3.938 kB / 0.6713 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.5685, allocations: 35.98 kB / 0.6714 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.5686, allocations: 23.98 kB / 0.6714 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.5708, allocations: 0.8742 MB / 0.6722 GB, free: 152 kB / 0.4981 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.007139/0.578, allocations: 5.267 MB / 0.6774 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.5814, allocations: 0.7972 MB / 0.6781 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.5822, allocations: 304.7 kB / 0.6784 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/0.583, allocations: 0.9102 MB / 0.6793 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.5831, allocations: 42.52 kB / 0.6794 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.845e-06/0.5831, allocations: 4 kB / 0.6794 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008935/0.592, allocations: 1.93 MB / 0.6813 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.5921, allocations: 55.41 kB / 0.6813 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.5943, allocations: 1.068 MB / 0.6824 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.5944, allocations: 37.7 kB / 0.6824 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.5949, allocations: 0.539 MB / 0.6829 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.5951, allocations: 153.8 kB / 0.6831 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.5954, allocations: 138.1 kB / 0.6832 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5955, allocations: 330 kB / 0.6835 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/0.5965, allocations: 311.3 kB / 0.6838 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.5976, allocations: 0.5407 MB / 0.6843 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.5994, allocations: 0.7221 MB / 0.685 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.5995, allocations: 7.938 kB / 0.685 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003975/0.6035, allocations: 1.168 MB / 0.6862 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.6035, allocations: 4 kB / 0.6862 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6035, allocations: 11.98 kB / 0.6862 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.6049, allocations: 320.6 kB / 0.6865 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.6054, allocations: 127.8 kB / 0.6866 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.6071, allocations: 0.9179 MB / 0.6875 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.6085, allocations: 151.3 kB / 0.6877 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.6086, allocations: 31.98 kB / 0.6877 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001376/0.61, allocations: 0.509 MB / 0.6882 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001106/0.6111, allocations: 0.5407 MB / 0.6887 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001727/0.6129, allocations: 0.7135 MB / 0.6894 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.506e-06/0.6129, allocations: 4 kB / 0.6894 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003862/0.6167, allocations: 1.16 MB / 0.6906 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6168, allocations: 12 kB / 0.6906 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6168, allocations: 7.938 kB / 0.6906 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.618, allocations: 304.6 kB / 0.6909 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.6186, allocations: 135.7 kB / 0.691 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.6201, allocations: 0.9036 MB / 0.6919 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.6216, allocations: 147.6 kB / 0.692 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/0.6217, allocations: 35.98 kB / 0.6921 GB, free: 10.74 MB / 0.5294 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.0002929/0.622, allocations: 226.5 kB / 0.6923 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/0.6223, allocations: 106.7 kB / 0.6924 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.6264, allocations: 1.114 MB / 0.6935 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.6265, allocations: 4 kB / 0.6935 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6265, allocations: 0 / 0.6935 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6265, allocations: 7.984 kB / 0.6935 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/0.6324, allocations: 2.187 MB / 0.6956 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.6324, allocations: 8.266 kB / 0.6956 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.6328, allocations: 71.83 kB / 0.6957 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.6338, allocations: 296.6 kB / 0.696 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.6339, allocations: 15.98 kB / 0.696 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.6355, allocations: 0.9473 MB / 0.6969 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6355, allocations: 4 kB / 0.6969 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/0.6395, allocations: 1.189 MB / 0.6981 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/0.6401, allocations: 263.5 kB / 0.6983 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.6404, allocations: 15.98 kB / 0.6983 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009911/0.6414, allocations: 75.91 kB / 0.6984 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.6415, allocations: 39.89 kB / 0.6985 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.6416, allocations: 23.98 kB / 0.6985 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00149/0.6431, allocations: 0.7512 MB / 0.6992 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6431, allocations: 4 kB / 0.6992 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002092/0.6452, allocations: 0.5654 MB / 0.6998 GB, free: 2.641 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.001051/0.6463, allocations: 400.5 kB / 0.7001 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.65, allocations: 1.16 MB / 0.7013 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.65, allocations: 4 kB / 0.7013 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.651, allocations: 350.5 kB / 0.7016 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.6539, allocations: 0.5081 MB / 0.7021 GB, free: 280 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.66, allocations: 2.084 MB / 0.7041 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008647/0.6609, allocations: 1.065 MB / 0.7052 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.6612, allocations: 79.41 kB / 0.7053 GB, free: 12.95 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.6613, allocations: 3.938 kB / 0.7053 GB, free: 12.95 MB / 0.545 GB Notification: Performance of Templates: time 0.03836/0.6996, allocations: 24.2 MB / 0.7289 GB, free: 4.918 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)