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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001869/0.001869, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 72.56 kB / 0.5047 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1878, allocations: 80.92 MB / 0.5837 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3408/0.5287, allocations: 60.82 MB / 0.6431 GB, free: 17.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.5425, allocations: 12.06 MB / 0.6549 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.5449, allocations: 58.31 kB / 0.6549 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.5467, allocations: 0.5408 MB / 0.6555 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005505/0.5523, allocations: 1.804 MB / 0.6572 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.5549, allocations: 1.073 MB / 0.6583 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004576/0.5595, allocations: 3.904 MB / 0.6621 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.561, allocations: 0.9348 MB / 0.663 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.5636, allocations: 1.153 MB / 0.6641 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.5649, allocations: 0.8935 MB / 0.665 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.5651, allocations: 57.12 kB / 0.665 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.5681, allocations: 1.354 MB / 0.6664 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.5684, allocations: 236.5 kB / 0.6666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009657/0.5694, allocations: 0.6417 MB / 0.6672 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005058/0.5745, allocations: 2.248 MB / 0.6694 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.5745, allocations: 1.469 kB / 0.6694 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5745, allocations: 0 / 0.6694 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.5745, allocations: 4 kB / 0.6694 GB, free: 2.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.004104/0.5787, allocations: 1.73 MB / 0.6711 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5787, allocations: 9.609 kB / 0.6711 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.5811, allocations: 409.8 kB / 0.6715 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.5834, allocations: 1.12 MB / 0.6726 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/0.5838, allocations: 123.7 kB / 0.6727 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.584, allocations: 79.91 kB / 0.6728 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.5866, allocations: 0.9805 MB / 0.6738 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5866, allocations: 1.031 kB / 0.6738 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.5867, allocations: 32.53 kB / 0.6738 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.5867, allocations: 19.22 kB / 0.6738 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.5893, allocations: 0.8685 MB / 0.6747 GB, free: 15.45 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.007779/0.5971, allocations: 4.845 MB / 0.6794 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.6007, allocations: 0.8003 MB / 0.6802 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.6016, allocations: 301.2 kB / 0.6805 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000774/0.6023, allocations: 0.904 MB / 0.6813 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.6024, allocations: 46.69 kB / 0.6814 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 4.429e-06/0.6024, allocations: 4 kB / 0.6814 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009218/0.6116, allocations: 1.928 MB / 0.6833 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.6117, allocations: 56.22 kB / 0.6833 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.6137, allocations: 1.051 MB / 0.6843 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/0.6138, allocations: 40.86 kB / 0.6844 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/0.6143, allocations: 0.5152 MB / 0.6849 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.6145, allocations: 154.6 kB / 0.685 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.6148, allocations: 136.3 kB / 0.6852 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6149, allocations: 325.8 kB / 0.6855 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/0.6158, allocations: 301.5 kB / 0.6858 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.6169, allocations: 0.5044 MB / 0.6863 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.6187, allocations: 0.6837 MB / 0.6869 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6188, allocations: 5.281 kB / 0.6869 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002875/0.6216, allocations: 0.9745 MB / 0.6879 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6217, allocations: 6 kB / 0.6879 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6217, allocations: 8.719 kB / 0.6879 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.6231, allocations: 323.6 kB / 0.6882 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.6237, allocations: 119.7 kB / 0.6883 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.6257, allocations: 0.9116 MB / 0.6892 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.6279, allocations: 174.8 kB / 0.6894 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.6281, allocations: 31.61 kB / 0.6894 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001678/0.6298, allocations: 0.5049 MB / 0.6899 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001202/0.631, allocations: 0.5047 MB / 0.6904 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001716/0.6327, allocations: 0.6654 MB / 0.691 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.6328, allocations: 2.562 kB / 0.691 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003062/0.6358, allocations: 0.9776 MB / 0.692 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6359, allocations: 13.8 kB / 0.692 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6359, allocations: 3.125 kB / 0.692 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.6371, allocations: 313.9 kB / 0.6923 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.6376, allocations: 117.8 kB / 0.6924 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.6391, allocations: 0.914 MB / 0.6933 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.6408, allocations: 154.7 kB / 0.6935 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.6409, allocations: 28.69 kB / 0.6935 GB, free: 4.375 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.0003238/0.6413, allocations: 220.2 kB / 0.6937 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.6415, allocations: 111.5 kB / 0.6938 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.6454, allocations: 1.113 MB / 0.6949 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.6455, allocations: 12.36 kB / 0.6949 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.6455, allocations: 3.938 kB / 0.6949 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6455, allocations: 0 / 0.6949 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/0.6509, allocations: 2.199 MB / 0.6971 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.6509, allocations: 2.25 kB / 0.6971 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.6512, allocations: 61.75 kB / 0.6971 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.6523, allocations: 319.7 kB / 0.6974 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.6523, allocations: 13.12 kB / 0.6974 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.6538, allocations: 0.9358 MB / 0.6984 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.6538, allocations: 14.5 kB / 0.6984 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.6575, allocations: 1.181 MB / 0.6995 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/0.6583, allocations: 271.5 kB / 0.6998 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.6586, allocations: 13.95 kB / 0.6998 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.6599, allocations: 91.77 kB / 0.6999 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.66, allocations: 43.27 kB / 0.6999 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.6601, allocations: 24.52 kB / 0.6999 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001728/0.6618, allocations: 0.7326 MB / 0.7007 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.6618, allocations: 0 / 0.7007 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002744/0.6646, allocations: 0.5729 MB / 0.7012 GB, free: 444 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.001248/0.6658, allocations: 380.8 kB / 0.7016 GB, free: 228 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004506/0.6704, allocations: 1.099 MB / 0.7027 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.6704, allocations: 1.688 kB / 0.7027 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.6716, allocations: 351.2 kB / 0.703 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/0.6755, allocations: 0.5034 MB / 0.7035 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/0.684, allocations: 2.439 MB / 0.7059 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/0.685, allocations: 1.066 MB / 0.7069 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001796/0.6868, allocations: 213.5 kB / 0.7071 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.6871, allocations: 81.27 kB / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of SimCode: time 3.226e-06/0.6872, allocations: 0 / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.05855/0.7457, allocations: 23.95 MB / 0.7306 GB, free: 6.238 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)