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.001092/0.001092, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001087/0.001088, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7449/0.7449, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.5067 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3047, allocations: 80.91 MB / 0.5858 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04656/0.3513, allocations: 61.19 MB / 0.6455 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3662, allocations: 11.98 MB / 0.6572 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.3678, allocations: 67.62 kB / 0.6573 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.3694, allocations: 0.6752 MB / 0.6579 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.3741, allocations: 1.955 MB / 0.6599 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.3768, allocations: 1.217 MB / 0.661 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004172/0.381, allocations: 3.079 MB / 0.664 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.3824, allocations: 1.1 MB / 0.6651 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.3849, allocations: 1.339 MB / 0.6664 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.386, allocations: 0.8945 MB / 0.6673 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.3862, allocations: 116 kB / 0.6674 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.3888, allocations: 1.45 MB / 0.6688 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.3891, allocations: 294.8 kB / 0.6691 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006709/0.3897, allocations: 0.6958 MB / 0.6698 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.3925, allocations: 2.318 MB / 0.6721 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3925, allocations: 0 / 0.6721 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3926, allocations: 0 / 0.6721 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.3926, allocations: 0 / 0.6721 GB, free: 2.152 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.002549/0.3951, allocations: 1.726 MB / 0.6737 GB, free: 372 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.3952, allocations: 13.11 kB / 0.6738 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.3971, allocations: 410.9 kB / 0.6741 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.3991, allocations: 1.163 MB / 0.6753 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.3991, allocations: 58 kB / 0.6753 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3992, allocations: 80 kB / 0.6754 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.401, allocations: 1.009 MB / 0.6764 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.401, allocations: 3.938 kB / 0.6764 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.4011, allocations: 32 kB / 0.6764 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4011, allocations: 20 kB / 0.6764 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.4031, allocations: 0.8508 MB / 0.6773 GB, free: 12.62 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.00559/0.4087, allocations: 5.247 MB / 0.6824 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.4117, allocations: 0.7825 MB / 0.6832 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.4123, allocations: 303.2 kB / 0.6835 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.413, allocations: 0.9103 MB / 0.6843 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.413, allocations: 50.39 kB / 0.6844 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 1.923e-06/0.413, allocations: 0 / 0.6844 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007302/0.4203, allocations: 1.863 MB / 0.6862 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.4203, allocations: 55.41 kB / 0.6863 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4217, allocations: 1.076 MB / 0.6873 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.4218, allocations: 37.7 kB / 0.6874 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.4222, allocations: 0.5273 MB / 0.6879 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4223, allocations: 157.8 kB / 0.688 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.4225, allocations: 142.1 kB / 0.6882 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4226, allocations: 330 kB / 0.6885 GB, free: 492 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/0.4234, allocations: 307.3 kB / 0.6888 GB, free: 180 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/0.4244, allocations: 0.529 MB / 0.6893 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.4258, allocations: 0.7028 MB / 0.69 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4259, allocations: 4 kB / 0.69 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003132/0.429, allocations: 1.153 MB / 0.6911 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.429, allocations: 4 kB / 0.6911 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.429, allocations: 8 kB / 0.6911 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4301, allocations: 308.7 kB / 0.6914 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.4307, allocations: 131.8 kB / 0.6915 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.4319, allocations: 0.8958 MB / 0.6924 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.4329, allocations: 151.2 kB / 0.6925 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.433, allocations: 31.98 kB / 0.6926 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001022/0.4341, allocations: 0.5099 MB / 0.6931 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000925/0.435, allocations: 0.5329 MB / 0.6936 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.4364, allocations: 0.7095 MB / 0.6943 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.4365, allocations: 0 / 0.6943 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003051/0.4395, allocations: 1.122 MB / 0.6954 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4395, allocations: 8 kB / 0.6954 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4395, allocations: 4 kB / 0.6954 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009571/0.4405, allocations: 307.6 kB / 0.6957 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.441, allocations: 127.8 kB / 0.6958 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.4422, allocations: 0.9073 MB / 0.6967 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4432, allocations: 127.6 kB / 0.6968 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.4433, allocations: 31.98 kB / 0.6968 GB, free: 7.484 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.0001881/0.4435, allocations: 228 kB / 0.6971 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4437, allocations: 114.6 kB / 0.6972 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.447, allocations: 1.101 MB / 0.6982 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4471, allocations: 4 kB / 0.6983 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4471, allocations: 0 / 0.6983 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4471, allocations: 11.98 kB / 0.6983 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/0.4517, allocations: 2.171 MB / 0.7004 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4517, allocations: 0 / 0.7004 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.452, allocations: 67.89 kB / 0.7004 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009472/0.453, allocations: 304.8 kB / 0.7007 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.453, allocations: 11.98 kB / 0.7008 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.4543, allocations: 0.9374 MB / 0.7017 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4543, allocations: 0 / 0.7017 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.4575, allocations: 1.173 MB / 0.7028 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.458, allocations: 267.6 kB / 0.7031 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4581, allocations: 8 kB / 0.7031 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.4589, allocations: 71.91 kB / 0.7031 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.4589, allocations: 35.89 kB / 0.7032 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.459, allocations: 23.98 kB / 0.7032 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001031/0.46, allocations: 0.759 MB / 0.7039 GB, free: 8 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.46, allocations: 0 / 0.7039 GB, free: 8 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00134/0.4614, allocations: 0.5692 MB / 0.7045 GB, free: 15.44 MB / 0.545 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.0006661/0.4621, allocations: 398.6 kB / 0.7049 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002774/0.4648, allocations: 1.128 MB / 0.706 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4649, allocations: 4.938 kB / 0.706 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007955/0.4657, allocations: 346.1 kB / 0.7063 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.4676, allocations: 0.5069 MB / 0.7068 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.4719, allocations: 2.009 MB / 0.7088 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.4725, allocations: 1.073 MB / 0.7098 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006801/0.4732, allocations: 229.2 kB / 0.71 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.4734, allocations: 75.42 kB / 0.7101 GB, free: 9.637 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4734, allocations: 0 / 0.7101 GB, free: 9.637 MB / 0.545 GB Notification: Performance of Templates: time 0.03423/0.5076, allocations: 25.11 MB / 0.7346 GB, free: 0.7891 MB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)