Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001037/0.001037, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7923/0.7923, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3829, allocations: 80.91 MB / 0.5858 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1193/0.5022, allocations: 132.2 MB / 0.7148 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03165/0.5339, allocations: 23.2 MB / 0.7375 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/0.5381, allocations: 123.2 kB / 0.7376 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004033/0.5421, allocations: 1.49 MB / 0.7391 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.5543, allocations: 4.093 MB / 0.7431 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.5598, allocations: 2.159 MB / 0.7452 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009156/0.569, allocations: 6.539 MB / 0.7516 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3982/0.9672, allocations: 2.357 MB / 0.7539 GB, free: 45.45 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006132/0.9733, allocations: 2.764 MB / 0.7566 GB, free: 45.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/0.9782, allocations: 1.878 MB / 0.7584 GB, free: 45.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.9798, allocations: 251.9 kB / 0.7586 GB, free: 45.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007175/0.987, allocations: 1.936 MB / 0.7605 GB, free: 45.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.9883, allocations: 0.604 MB / 0.7611 GB, free: 45.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003287/0.9916, allocations: 1.459 MB / 0.7625 GB, free: 44.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/1.002, allocations: 4.379 MB / 0.7668 GB, free: 44.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.002, allocations: 0 / 0.7668 GB, free: 44.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/1.002, allocations: 0.9688 kB / 0.7668 GB, free: 44.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.392e-05/1.002, allocations: 0 / 0.7668 GB, free: 44.39 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.009236/1.011, allocations: 3.184 MB / 0.7699 GB, free: 42.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/1.011, allocations: 9.922 kB / 0.7699 GB, free: 42.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/1.016, allocations: 0.8393 MB / 0.7707 GB, free: 42.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/1.022, allocations: 2.335 MB / 0.773 GB, free: 42.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.022, allocations: 130.3 kB / 0.7732 GB, free: 42.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/1.022, allocations: 161.2 kB / 0.7733 GB, free: 42.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/1.026, allocations: 1.92 MB / 0.7752 GB, free: 41.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.026, allocations: 5.938 kB / 0.7752 GB, free: 41.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/1.026, allocations: 62.03 kB / 0.7752 GB, free: 41.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/1.026, allocations: 39.06 kB / 0.7753 GB, free: 41.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003965/1.03, allocations: 1.789 MB / 0.777 GB, free: 41.9 MB / 0.5762 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.01119/1.041, allocations: 8.964 MB / 0.7858 GB, free: 37.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/1.045, allocations: 1.193 MB / 0.787 GB, free: 37.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009391/1.046, allocations: 466 kB / 0.7874 GB, free: 37.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007647/1.047, allocations: 1.715 MB / 0.7891 GB, free: 35.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/1.047, allocations: 50.41 kB / 0.7891 GB, free: 35.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.475e-06/1.047, allocations: 0 / 0.7891 GB, free: 35.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007693/1.054, allocations: 2.323 MB / 0.7914 GB, free: 35.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.054, allocations: 85.23 kB / 0.7915 GB, free: 34.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/1.058, allocations: 2.501 MB / 0.7939 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/1.058, allocations: 49.27 kB / 0.794 GB, free: 34.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000664/1.059, allocations: 1.034 MB / 0.795 GB, free: 34.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/1.059, allocations: 269.8 kB / 0.7952 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/1.059, allocations: 258.7 kB / 0.7955 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/1.06, allocations: 348.2 kB / 0.7958 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/1.061, allocations: 0.5731 MB / 0.7964 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/1.063, allocations: 0.9489 MB / 0.7973 GB, free: 33.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/1.065, allocations: 1.251 MB / 0.7985 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.065, allocations: 0 / 0.7985 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005702/1.071, allocations: 2.022 MB / 0.8005 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.071, allocations: 10.22 kB / 0.8005 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.071, allocations: 11.12 kB / 0.8005 GB, free: 32.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.072, allocations: 423.8 kB / 0.8009 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.074, allocations: 284 kB / 0.8012 GB, free: 32.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/1.075, allocations: 1.502 MB / 0.8026 GB, free: 31.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/1.079, allocations: 366.9 kB / 0.803 GB, free: 31.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/1.08, allocations: 59.59 kB / 0.8031 GB, free: 31.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001438/1.081, allocations: 468 kB / 0.8035 GB, free: 31.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/1.082, allocations: 241 kB / 0.8037 GB, free: 31.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/1.085, allocations: 1.494 MB / 0.8052 GB, free: 30.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.085, allocations: 17.45 kB / 0.8052 GB, free: 30.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.085, allocations: 0 / 0.8052 GB, free: 30.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/1.085, allocations: 3.984 kB / 0.8052 GB, free: 30.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006994/1.092, allocations: 3.606 MB / 0.8087 GB, free: 29.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.092, allocations: 3.062 kB / 0.8087 GB, free: 29.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/1.093, allocations: 131.8 kB / 0.8089 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/1.094, allocations: 424.4 kB / 0.8093 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/1.094, allocations: 26.62 kB / 0.8093 GB, free: 29.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.096, allocations: 1.572 MB / 0.8108 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.096, allocations: 3.844 kB / 0.8108 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/1.101, allocations: 1.933 MB / 0.8127 GB, free: 27.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.103, allocations: 490.9 kB / 0.8132 GB, free: 26.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/1.103, allocations: 15.12 kB / 0.8132 GB, free: 26.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.104, allocations: 138.2 kB / 0.8133 GB, free: 26.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/1.104, allocations: 67.14 kB / 0.8134 GB, free: 26.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/1.105, allocations: 39.22 kB / 0.8134 GB, free: 26.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002391/1.107, allocations: 1.753 MB / 0.8151 GB, free: 25.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.107, allocations: 0 / 0.8151 GB, free: 25.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001766/1.109, allocations: 0.6868 MB / 0.8158 GB, free: 25.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009687/1.11, allocations: 0.6105 MB / 0.8164 GB, free: 24.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003379/1.113, allocations: 1.341 MB / 0.8177 GB, free: 23.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.113, allocations: 0 / 0.8177 GB, free: 23.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.115, allocations: 0.6791 MB / 0.8184 GB, free: 22.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004646/1.12, allocations: 1.326 MB / 0.8197 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/1.124, allocations: 3.536 MB / 0.8231 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/1.125, allocations: 1.483 MB / 0.8246 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001348/1.126, allocations: 444.5 kB / 0.825 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/1.127, allocations: 165.9 kB / 0.8252 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/1.127, allocations: 0 / 0.8252 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.07006/1.197, allocations: 48.18 MB / 0.8722 GB, free: 1.297 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)