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.0008957/0.0008956, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009486/0.0009488, allocations: 172.7 kB / 15.95 MB, free: 192 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.044/1.044, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003984, allocations: 9.062 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1983, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.4021/0.6004, allocations: 56.49 MB / 0.6425 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.6149, allocations: 11.21 MB / 0.6535 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.6175, allocations: 47.16 kB / 0.6535 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.6193, allocations: 473.6 kB / 0.654 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.6252, allocations: 1.52 MB / 0.6555 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.628, allocations: 0.8624 MB / 0.6563 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004495/0.6325, allocations: 3.385 MB / 0.6596 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.6339, allocations: 0.7896 MB / 0.6604 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.6363, allocations: 1.045 MB / 0.6614 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.6377, allocations: 0.8033 MB / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.6378, allocations: 41.69 kB / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.6407, allocations: 1.106 MB / 0.6633 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.641, allocations: 205.9 kB / 0.6635 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.6416, allocations: 283.2 kB / 0.6638 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.6447, allocations: 1.644 MB / 0.6654 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6448, allocations: 0 / 0.6654 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6448, allocations: 0 / 0.6654 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.6448, allocations: 1.375 kB / 0.6654 GB, free: 7.258 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.003033/0.6478, allocations: 1.492 MB / 0.6668 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6479, allocations: 9.781 kB / 0.6668 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.6501, allocations: 469.3 kB / 0.6673 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.6524, allocations: 1.097 MB / 0.6684 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.6528, allocations: 128.2 kB / 0.6685 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.6529, allocations: 79.59 kB / 0.6686 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.6551, allocations: 1.011 MB / 0.6695 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.6552, allocations: 1.375 kB / 0.6696 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.6553, allocations: 31.72 kB / 0.6696 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.6553, allocations: 18.91 kB / 0.6696 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.6576, allocations: 0.9123 MB / 0.6705 GB, free: 4.637 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.006551/0.6642, allocations: 4.904 MB / 0.6753 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.6674, allocations: 0.8996 MB / 0.6762 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.6681, allocations: 322.6 kB / 0.6765 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/0.6687, allocations: 0.9041 MB / 0.6773 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.6688, allocations: 42.42 kB / 0.6774 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.394e-06/0.6688, allocations: 0 / 0.6774 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008427/0.6772, allocations: 2.162 MB / 0.6795 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.6773, allocations: 60.91 kB / 0.6796 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.6792, allocations: 1.043 MB / 0.6806 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.6793, allocations: 41.83 kB / 0.6806 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.6798, allocations: 0.5182 MB / 0.6811 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.68, allocations: 157.8 kB / 0.6813 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.6801, allocations: 14.69 kB / 0.6813 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6802, allocations: 329.3 kB / 0.6816 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.6811, allocations: 320.7 kB / 0.6819 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.6821, allocations: 0.5302 MB / 0.6824 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/0.6831, allocations: 357.8 kB / 0.6828 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6831, allocations: 1.719 kB / 0.6828 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002736/0.6858, allocations: 1.039 MB / 0.6838 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.686, allocations: 205.5 kB / 0.684 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.686, allocations: 12.66 kB / 0.684 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.6874, allocations: 333.8 kB / 0.6843 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.6879, allocations: 126.7 kB / 0.6844 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.6894, allocations: 0.9389 MB / 0.6853 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.6909, allocations: 193.8 kB / 0.6855 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.691, allocations: 28.94 kB / 0.6856 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.691, allocations: 4.219 kB / 0.6856 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002424/0.6934, allocations: 0.9115 MB / 0.6865 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.6934, allocations: 8.859 kB / 0.6865 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.6945, allocations: 327.6 kB / 0.6868 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.6951, allocations: 126.7 kB / 0.6869 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.6965, allocations: 0.9332 MB / 0.6878 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.6978, allocations: 171.7 kB / 0.688 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.6979, allocations: 32.72 kB / 0.688 GB, free: 10.53 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.000733/0.6986, allocations: 349.7 kB / 0.6883 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.6989, allocations: 111.6 kB / 0.6884 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.7026, allocations: 1.212 MB / 0.6896 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.7026, allocations: 8.734 kB / 0.6896 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7026, allocations: 4 kB / 0.6896 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.7027, allocations: 3.594 kB / 0.6896 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.7079, allocations: 2.292 MB / 0.6919 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.7079, allocations: 2.656 kB / 0.6919 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.7082, allocations: 70.86 kB / 0.6919 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.7092, allocations: 330.8 kB / 0.6923 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.7092, allocations: 14.56 kB / 0.6923 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.7106, allocations: 0.9665 MB / 0.6932 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7106, allocations: 9.672 kB / 0.6932 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.714, allocations: 1.279 MB / 0.6945 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.7146, allocations: 281 kB / 0.6947 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.7148, allocations: 12.88 kB / 0.6948 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.7156, allocations: 114.6 kB / 0.6949 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.7157, allocations: 36.31 kB / 0.6949 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.7158, allocations: 25.81 kB / 0.6949 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001267/0.7171, allocations: 0.7339 MB / 0.6956 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7171, allocations: 0 / 0.6956 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001948/0.719, allocations: 0.5632 MB / 0.6962 GB, free: 6.777 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.0008929/0.7199, allocations: 384 kB / 0.6966 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003057/0.723, allocations: 1.164 MB / 0.6977 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.723, allocations: 0.9688 kB / 0.6977 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.7239, allocations: 373.9 kB / 0.6981 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.7263, allocations: 0.4964 MB / 0.6985 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.7319, allocations: 2.495 MB / 0.701 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.7327, allocations: 1.059 MB / 0.702 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001164/0.7339, allocations: 222.3 kB / 0.7022 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.7342, allocations: 81.22 kB / 0.7023 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.7342, allocations: 0 / 0.7023 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.04235/0.7765, allocations: 23.18 MB / 0.7249 GB, free: 15.12 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)