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.0009186/0.0009186, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009921/0.0009922, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8448/0.8448, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 8 kB / 0.5068 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.282/0.4246, allocations: 51.29 MB / 0.6373 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.436, allocations: 10.31 MB / 0.6474 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.4376, allocations: 50.22 kB / 0.6474 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.4394, allocations: 0.6203 MB / 0.648 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004514/0.4439, allocations: 1.942 MB / 0.6499 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.447, allocations: 1.313 MB / 0.6512 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.4498, allocations: 1.844 MB / 0.653 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.451, allocations: 0.8088 MB / 0.6538 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.4528, allocations: 0.9838 MB / 0.6547 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.4539, allocations: 0.5986 MB / 0.6553 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.4541, allocations: 39.81 kB / 0.6554 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.4562, allocations: 0.9994 MB / 0.6563 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.4565, allocations: 201.3 kB / 0.6565 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.4569, allocations: 282.1 kB / 0.6568 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.4588, allocations: 1.594 MB / 0.6584 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.4588, allocations: 0 / 0.6584 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4588, allocations: 0 / 0.6584 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.287e-05/0.4588, allocations: 0.6875 kB / 0.6584 GB, free: 11.36 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.002911/0.4618, allocations: 1.479 MB / 0.6598 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4618, allocations: 8.781 kB / 0.6598 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.4639, allocations: 473.3 kB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.4658, allocations: 1.048 MB / 0.6613 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.4662, allocations: 136.2 kB / 0.6614 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.4663, allocations: 78.97 kB / 0.6615 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.4682, allocations: 1.003 MB / 0.6625 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4682, allocations: 0.7188 kB / 0.6625 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/0.4683, allocations: 35.88 kB / 0.6625 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.4683, allocations: 23.38 kB / 0.6625 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.4706, allocations: 0.9162 MB / 0.6634 GB, free: 8.754 MB / 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.00559/0.4762, allocations: 4.921 MB / 0.6682 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/0.4795, allocations: 0.9066 MB / 0.6691 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004105/0.4799, allocations: 0.9061 MB / 0.67 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.48, allocations: 37.53 kB / 0.67 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.464e-06/0.48, allocations: 7.984 kB / 0.67 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008283/0.4883, allocations: 2.154 MB / 0.6721 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.4883, allocations: 55.81 kB / 0.6722 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.4897, allocations: 1.065 MB / 0.6732 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.4898, allocations: 42.27 kB / 0.6733 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.4901, allocations: 0.5102 MB / 0.6738 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4902, allocations: 158.2 kB / 0.6739 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.4903, allocations: 10.25 kB / 0.6739 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.4903, allocations: 329.4 kB / 0.6743 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/0.4912, allocations: 317.2 kB / 0.6746 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/0.4921, allocations: 0.5269 MB / 0.6751 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.493, allocations: 357.5 kB / 0.6754 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.493, allocations: 1.75 kB / 0.6754 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002436/0.4954, allocations: 1.036 MB / 0.6764 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.4958, allocations: 1.584 MB / 0.678 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4958, allocations: 5.094 kB / 0.678 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.4971, allocations: 335.2 kB / 0.6783 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.4977, allocations: 132 kB / 0.6784 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.4991, allocations: 0.9389 MB / 0.6793 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.5003, allocations: 193.3 kB / 0.6795 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.5004, allocations: 33.36 kB / 0.6796 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5005, allocations: 7.969 kB / 0.6796 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002411/0.5029, allocations: 0.9125 MB / 0.6805 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5029, allocations: 5.281 kB / 0.6805 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.5039, allocations: 333.7 kB / 0.6808 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.5045, allocations: 131 kB / 0.6809 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.5058, allocations: 0.9342 MB / 0.6818 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.5069, allocations: 170.2 kB / 0.682 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.507, allocations: 30.52 kB / 0.682 GB, free: 13.31 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004669/0.5074, allocations: 353.5 kB / 0.6823 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.5076, allocations: 114.7 kB / 0.6824 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/0.5113, allocations: 1.203 MB / 0.6836 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5113, allocations: 11.08 kB / 0.6836 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.5113, allocations: 4.641 kB / 0.6836 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5113, allocations: 2.531 kB / 0.6836 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.5166, allocations: 2.307 MB / 0.6859 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5166, allocations: 2.656 kB / 0.6859 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.5169, allocations: 69.25 kB / 0.686 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.5179, allocations: 322.5 kB / 0.6863 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.518, allocations: 13.19 kB / 0.6863 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.5194, allocations: 0.9722 MB / 0.6872 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5194, allocations: 3.312 kB / 0.6872 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/0.523, allocations: 1.398 MB / 0.6886 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.5235, allocations: 286.8 kB / 0.6889 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.5237, allocations: 13.22 kB / 0.6889 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009358/0.5247, allocations: 120.3 kB / 0.689 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.5248, allocations: 42.5 kB / 0.689 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.5248, allocations: 21.75 kB / 0.6891 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00115/0.526, allocations: 0.7487 MB / 0.6898 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.526, allocations: 0 / 0.6898 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001682/0.5277, allocations: 0.5686 MB / 0.6903 GB, free: 9.383 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007277/0.5284, allocations: 387.4 kB / 0.6907 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002997/0.5314, allocations: 1.169 MB / 0.6919 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5315, allocations: 1.312 kB / 0.6919 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008632/0.5323, allocations: 377.2 kB / 0.6922 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.5345, allocations: 492.6 kB / 0.6927 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.5398, allocations: 2.499 MB / 0.6951 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/0.5405, allocations: 1.082 MB / 0.6962 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001127/0.5416, allocations: 224.8 kB / 0.6964 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.5419, allocations: 79.38 kB / 0.6965 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.5419, allocations: 1.25 kB / 0.6965 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of Templates: time 0.03459/0.5765, allocations: 23.48 MB / 0.7194 GB, free: 4.031 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: