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.001427/0.001427, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00166/0.00166, allocations: 194.4 kB / 16.25 MB, free: 6.633 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.2 MB / 425.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 60.19 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2016, allocations: 80.94 MB / 0.5839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3221/0.5237, allocations: 60.67 MB / 0.6432 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.5373, allocations: 11.91 MB / 0.6548 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.5399, allocations: 61.19 kB / 0.6549 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.5417, allocations: 0.584 MB / 0.6554 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.547, allocations: 1.814 MB / 0.6572 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.5501, allocations: 1.09 MB / 0.6583 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004013/0.5542, allocations: 3.109 MB / 0.6613 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.5559, allocations: 1.108 MB / 0.6624 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.5596, allocations: 1.326 MB / 0.6637 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.5616, allocations: 0.9351 MB / 0.6646 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.5619, allocations: 115.4 kB / 0.6647 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.5654, allocations: 1.466 MB / 0.6661 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.5658, allocations: 288.6 kB / 0.6664 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.5669, allocations: 0.6994 MB / 0.6671 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005552/0.5725, allocations: 2.305 MB / 0.6694 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.5725, allocations: 4 kB / 0.6694 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5725, allocations: 0 / 0.6694 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.113e-05/0.5726, allocations: 0 / 0.6694 GB, free: 1.707 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.004261/0.5769, allocations: 1.734 MB / 0.6711 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.5769, allocations: 11.02 kB / 0.6711 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.5795, allocations: 408.6 kB / 0.6715 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.5829, allocations: 1.12 MB / 0.6725 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004379/0.5833, allocations: 123.9 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.5836, allocations: 83.34 kB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.5864, allocations: 0.9809 MB / 0.6737 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.5864, allocations: 5.125 kB / 0.6737 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/0.5865, allocations: 32.03 kB / 0.6737 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.5865, allocations: 19.19 kB / 0.6738 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.5889, allocations: 0.8727 MB / 0.6746 GB, free: 14.89 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.00781/0.5967, allocations: 4.838 MB / 0.6793 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.6002, allocations: 0.7926 MB / 0.6801 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007705/0.601, allocations: 308.2 kB / 0.6804 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/0.6018, allocations: 0.9057 MB / 0.6813 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.6018, allocations: 49.11 kB / 0.6813 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.6018, allocations: 1.031 kB / 0.6813 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008859/0.6107, allocations: 1.928 MB / 0.6832 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.6108, allocations: 56.34 kB / 0.6833 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.6127, allocations: 1.043 MB / 0.6843 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.6128, allocations: 39.42 kB / 0.6843 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.6133, allocations: 0.5255 MB / 0.6848 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.6135, allocations: 153.7 kB / 0.685 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.6138, allocations: 128.6 kB / 0.6851 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6139, allocations: 325.3 kB / 0.6854 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.6148, allocations: 315.7 kB / 0.6857 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.616, allocations: 0.4954 MB / 0.6862 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.6177, allocations: 0.6867 MB / 0.6869 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.6177, allocations: 1.812 kB / 0.6869 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002866/0.6206, allocations: 0.9825 MB / 0.6878 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6207, allocations: 7.688 kB / 0.6878 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.6207, allocations: 4.156 kB / 0.6878 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.622, allocations: 320.1 kB / 0.6882 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.6226, allocations: 122.3 kB / 0.6883 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.6242, allocations: 0.9161 MB / 0.6892 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.6258, allocations: 170.7 kB / 0.6893 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/0.626, allocations: 34.91 kB / 0.6894 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001382/0.6273, allocations: 0.5057 MB / 0.6899 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/0.6285, allocations: 0.503 MB / 0.6903 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00169/0.6302, allocations: 0.6753 MB / 0.691 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.6302, allocations: 1.312 kB / 0.691 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002987/0.6332, allocations: 0.9753 MB / 0.692 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6332, allocations: 11.05 kB / 0.692 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6332, allocations: 4.656 kB / 0.692 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.6344, allocations: 312.7 kB / 0.6923 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.635, allocations: 116.7 kB / 0.6924 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.6365, allocations: 0.9105 MB / 0.6933 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.6381, allocations: 162.9 kB / 0.6934 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.6382, allocations: 28.66 kB / 0.6935 GB, free: 3.816 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 (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.0003156/0.6385, allocations: 220.4 kB / 0.6937 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.6389, allocations: 111.9 kB / 0.6938 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.643, allocations: 1.113 MB / 0.6949 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.643, allocations: 6.578 kB / 0.6949 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.643, allocations: 5.438 kB / 0.6949 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.643, allocations: 2.109 kB / 0.6949 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/0.6498, allocations: 2.185 MB / 0.697 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.6498, allocations: 2.188 kB / 0.697 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.6502, allocations: 64.97 kB / 0.6971 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.6513, allocations: 310 kB / 0.6974 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.6513, allocations: 16.05 kB / 0.6974 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.653, allocations: 0.9398 MB / 0.6983 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.653, allocations: 10.59 kB / 0.6983 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.657, allocations: 1.185 MB / 0.6995 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.6577, allocations: 268.6 kB / 0.6997 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.658, allocations: 12.88 kB / 0.6997 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.659, allocations: 100.5 kB / 0.6998 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.6591, allocations: 43.12 kB / 0.6999 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.6592, allocations: 21.61 kB / 0.6999 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001225/0.6604, allocations: 0.7342 MB / 0.7006 GB, free: 316 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6604, allocations: 0 / 0.7006 GB, free: 316 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00185/0.6623, allocations: 0.5657 MB / 0.7012 GB, free: 196 kB / 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 (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.0009558/0.6633, allocations: 390.6 kB / 0.7015 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003352/0.6666, allocations: 1.125 MB / 0.7026 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6666, allocations: 0 / 0.7026 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008823/0.6675, allocations: 358.4 kB / 0.703 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.6698, allocations: 0.5057 MB / 0.7035 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.6753, allocations: 2.436 MB / 0.7058 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007088/0.676, allocations: 1.06 MB / 0.7069 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001/0.677, allocations: 219.7 kB / 0.7071 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.6772, allocations: 83.16 kB / 0.7072 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.6773, allocations: 3.938 kB / 0.7072 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.04558/0.7228, allocations: 24.72 MB / 0.7313 GB, free: 5.504 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)