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.001267/0.001267, allocations: 100.1 kB / 16.35 MB, free: 5.875 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.001274/0.001274, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.757/0.757, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3288, allocations: 80.19 MB / 0.5815 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04902/0.3778, allocations: 61.19 MB / 0.6412 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.394, allocations: 11.98 MB / 0.6529 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.3958, allocations: 59.62 kB / 0.653 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.3974, allocations: 0.6752 MB / 0.6537 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004373/0.4019, allocations: 1.963 MB / 0.6556 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.4046, allocations: 1.205 MB / 0.6568 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003728/0.4083, allocations: 3.087 MB / 0.6598 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.4097, allocations: 1.1 MB / 0.6608 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.4125, allocations: 1.33 MB / 0.6621 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.4135, allocations: 0.8983 MB / 0.663 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.4137, allocations: 120 kB / 0.6631 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.4161, allocations: 1.45 MB / 0.6645 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.4164, allocations: 290.9 kB / 0.6648 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.4171, allocations: 0.688 MB / 0.6655 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.4197, allocations: 2.321 MB / 0.6678 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4197, allocations: 0 / 0.6678 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4197, allocations: 0 / 0.6678 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.4197, allocations: 0 / 0.6678 GB, free: 5.645 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.002787/0.4225, allocations: 1.734 MB / 0.6695 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4226, allocations: 8.031 kB / 0.6695 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.4245, allocations: 406.9 kB / 0.6699 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.4266, allocations: 1.155 MB / 0.671 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.4267, allocations: 66 kB / 0.671 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.4268, allocations: 84 kB / 0.6711 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.4286, allocations: 1.005 MB / 0.6721 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4286, allocations: 7.875 kB / 0.6721 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.4287, allocations: 32 kB / 0.6721 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4287, allocations: 20 kB / 0.6722 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.4308, allocations: 0.8703 MB / 0.673 GB, free: 88 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.005919/0.4367, allocations: 5.228 MB / 0.6781 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.4398, allocations: 0.787 MB / 0.6789 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.4404, allocations: 300.7 kB / 0.6792 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/0.4411, allocations: 0.9064 MB / 0.6801 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.4411, allocations: 42.45 kB / 0.6801 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 1.834e-06/0.4411, allocations: 0 / 0.6801 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.00764/0.4488, allocations: 1.863 MB / 0.6819 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.4488, allocations: 63.41 kB / 0.682 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.4503, allocations: 1.072 MB / 0.683 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.4504, allocations: 37.7 kB / 0.6831 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.4508, allocations: 0.5351 MB / 0.6836 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4509, allocations: 153.8 kB / 0.6837 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.4511, allocations: 134.1 kB / 0.6839 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4513, allocations: 333.9 kB / 0.6842 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/0.4521, allocations: 307.3 kB / 0.6845 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009864/0.4531, allocations: 0.5329 MB / 0.685 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.4546, allocations: 0.7143 MB / 0.6857 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4546, allocations: 3.938 kB / 0.6857 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003427/0.4581, allocations: 1.145 MB / 0.6868 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4581, allocations: 8 kB / 0.6868 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4581, allocations: 4 kB / 0.6868 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.4592, allocations: 318.1 kB / 0.6871 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.4598, allocations: 123.8 kB / 0.6872 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.4612, allocations: 0.8996 MB / 0.6881 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4623, allocations: 147.3 kB / 0.6883 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.4623, allocations: 27.98 kB / 0.6883 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001073/0.4634, allocations: 0.5168 MB / 0.6888 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009916/0.4644, allocations: 0.5251 MB / 0.6893 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/0.4659, allocations: 0.7057 MB / 0.69 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.4659, allocations: 0 / 0.69 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003205/0.4692, allocations: 1.137 MB / 0.6911 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4692, allocations: 8 kB / 0.6911 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4692, allocations: 4 kB / 0.6911 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.4702, allocations: 307.5 kB / 0.6914 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.4708, allocations: 127.8 kB / 0.6915 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.472, allocations: 0.9034 MB / 0.6924 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.4732, allocations: 135.6 kB / 0.6925 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.4732, allocations: 27.98 kB / 0.6926 GB, free: 10.96 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.0002177/0.4735, allocations: 233.2 kB / 0.6928 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.4736, allocations: 106.7 kB / 0.6929 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.4773, allocations: 1.09 MB / 0.694 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.4773, allocations: 15.97 kB / 0.694 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4773, allocations: 0 / 0.694 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4773, allocations: 0 / 0.694 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.4822, allocations: 2.179 MB / 0.6961 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.4822, allocations: 4 kB / 0.6961 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.4825, allocations: 67.83 kB / 0.6962 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009442/0.4835, allocations: 299.1 kB / 0.6965 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.4835, allocations: 12 kB / 0.6965 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.4849, allocations: 0.9307 MB / 0.6974 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4849, allocations: 4 kB / 0.6974 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.4883, allocations: 1.181 MB / 0.6985 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.4888, allocations: 259.6 kB / 0.6988 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.4889, allocations: 11.98 kB / 0.6988 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008061/0.4897, allocations: 71.92 kB / 0.6989 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.4898, allocations: 35.89 kB / 0.6989 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.4899, allocations: 23.98 kB / 0.6989 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001104/0.491, allocations: 0.7551 MB / 0.6997 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.491, allocations: 0 / 0.6997 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001485/0.4925, allocations: 0.577 MB / 0.7002 GB, free: 2.914 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.0007386/0.4932, allocations: 395.2 kB / 0.7006 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002929/0.4962, allocations: 1.129 MB / 0.7017 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4962, allocations: 0 / 0.7017 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/0.497, allocations: 346.5 kB / 0.702 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.4991, allocations: 0.5099 MB / 0.7025 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.5038, allocations: 2.006 MB / 0.7045 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.5045, allocations: 1.069 MB / 0.7055 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007687/0.5053, allocations: 226 kB / 0.7057 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.5055, allocations: 83.41 kB / 0.7058 GB, free: 13.12 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.5055, allocations: 0 / 0.7058 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Templates: time 0.03889/0.5444, allocations: 25.12 MB / 0.7304 GB, free: 4.301 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)