Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009919/0.009919, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.002078/0.002078, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.41 kB / 0.5813 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.215, allocations: 80.21 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1354/0.3505, allocations: 132.2 MB / 0.7887 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03362/0.3841, allocations: 23.19 MB / 0.8114 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006315/0.3905, allocations: 127.2 kB / 0.8115 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.4464/0.8369, allocations: 1.524 MB / 0.813 GB, free: 42.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.8538, allocations: 4.308 MB / 0.8172 GB, free: 42.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006601/0.8604, allocations: 2.176 MB / 0.8193 GB, free: 42.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01402/0.8744, allocations: 6.545 MB / 0.8257 GB, free: 42.47 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00767/0.8821, allocations: 2.367 MB / 0.828 GB, free: 42.17 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009937/0.8921, allocations: 2.815 MB / 0.8308 GB, free: 42.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/0.8979, allocations: 1.889 MB / 0.8326 GB, free: 41.83 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.8994, allocations: 247.3 kB / 0.8329 GB, free: 41.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008914/0.9083, allocations: 1.944 MB / 0.8348 GB, free: 41.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.9102, allocations: 0.5932 MB / 0.8353 GB, free: 41.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005576/0.9158, allocations: 1.454 MB / 0.8368 GB, free: 41.33 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.9303, allocations: 4.392 MB / 0.8411 GB, free: 40.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.9304, allocations: 3.938 kB / 0.8411 GB, free: 40.76 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9304, allocations: 0 / 0.8411 GB, free: 40.76 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001836/0.9306, allocations: 4 kB / 0.8411 GB, free: 40.76 MB / 0.6387 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.01072/0.9413, allocations: 3.178 MB / 0.8442 GB, free: 39.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.9414, allocations: 10.94 kB / 0.8442 GB, free: 39.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.9465, allocations: 0.8369 MB / 0.845 GB, free: 39.03 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006337/0.9529, allocations: 2.334 MB / 0.8473 GB, free: 38.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.9531, allocations: 125.1 kB / 0.8474 GB, free: 38.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000545/0.9536, allocations: 159.2 kB / 0.8475 GB, free: 38.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005521/0.9592, allocations: 1.931 MB / 0.8494 GB, free: 38.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.9592, allocations: 8.906 kB / 0.8494 GB, free: 38.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.9596, allocations: 63.62 kB / 0.8495 GB, free: 38.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.9596, allocations: 37 kB / 0.8495 GB, free: 38.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/0.9647, allocations: 1.783 MB / 0.8513 GB, free: 38.18 MB / 0.6387 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.015/0.9797, allocations: 8.976 MB / 0.86 GB, free: 33.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.9842, allocations: 1.188 MB / 0.8612 GB, free: 33.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.9855, allocations: 462 kB / 0.8616 GB, free: 33.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009005/0.9865, allocations: 1.721 MB / 0.8633 GB, free: 31.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.9865, allocations: 48.25 kB / 0.8634 GB, free: 31.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.897e-06/0.9865, allocations: 0 / 0.8634 GB, free: 31.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.009205/0.9958, allocations: 2.322 MB / 0.8656 GB, free: 31.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.9958, allocations: 91.61 kB / 0.8657 GB, free: 31.08 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006103/1.002, allocations: 2.505 MB / 0.8682 GB, free: 30.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002397/1.002, allocations: 44.48 kB / 0.8682 GB, free: 30.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.003, allocations: 1.034 MB / 0.8692 GB, free: 30.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/1.004, allocations: 273.6 kB / 0.8695 GB, free: 29.88 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005907/1.004, allocations: 258.1 kB / 0.8697 GB, free: 29.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/1.004, allocations: 346.6 kB / 0.8701 GB, free: 29.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/1.006, allocations: 0.5737 MB / 0.8706 GB, free: 29.38 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/1.008, allocations: 0.9506 MB / 0.8715 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/1.011, allocations: 1.255 MB / 0.8728 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.011, allocations: 2.25 kB / 0.8728 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007007/1.018, allocations: 2.016 MB / 0.8747 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.018, allocations: 14.31 kB / 0.8748 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.018, allocations: 8.812 kB / 0.8748 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/1.02, allocations: 419.8 kB / 0.8752 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.021, allocations: 284.2 kB / 0.8754 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/1.023, allocations: 1.499 MB / 0.8769 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/1.027, allocations: 366.2 kB / 0.8772 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.027, allocations: 61.52 kB / 0.8773 GB, free: 25.23 MB / 0.6387 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.001116/1.028, allocations: 466.9 kB / 0.8778 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008669/1.029, allocations: 252.8 kB / 0.878 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/1.033, allocations: 1.491 MB / 0.8794 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.033, allocations: 12 kB / 0.8795 GB, free: 23.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.033, allocations: 3.984 kB / 0.8795 GB, free: 23.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.033, allocations: 3.984 kB / 0.8795 GB, free: 23.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008505/1.041, allocations: 3.588 MB / 0.883 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/1.041, allocations: 4 kB / 0.883 GB, free: 19.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/1.042, allocations: 134.8 kB / 0.8831 GB, free: 19.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/1.043, allocations: 405.3 kB / 0.8835 GB, free: 19.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/1.044, allocations: 35.86 kB / 0.8835 GB, free: 19.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/1.046, allocations: 1.575 MB / 0.8851 GB, free: 17.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.046, allocations: 6.906 kB / 0.8851 GB, free: 17.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006061/1.052, allocations: 1.935 MB / 0.887 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.053, allocations: 485.6 kB / 0.8874 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008899/1.054, allocations: 16 kB / 0.8874 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.057, allocations: 143.8 kB / 0.8876 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.057, allocations: 63.55 kB / 0.8876 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.057, allocations: 43.97 kB / 0.8877 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003872/1.061, allocations: 1.75 MB / 0.8894 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/1.061, allocations: 4 kB / 0.8894 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003117/1.064, allocations: 0.6905 MB / 0.8901 GB, free: 12.34 MB / 0.6387 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.00149/1.065, allocations: 0.6181 MB / 0.8907 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0043/1.07, allocations: 1.346 MB / 0.892 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.07, allocations: 0 / 0.892 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.072, allocations: 0.6644 MB / 0.8926 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008033/1.08, allocations: 1.328 MB / 0.8939 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007329/1.087, allocations: 3.532 MB / 0.8974 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.089, allocations: 1.486 MB / 0.8988 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002345/1.091, allocations: 439.2 kB / 0.8992 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/1.092, allocations: 171.4 kB / 0.8994 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of SimCode: time 1.273e-06/1.092, allocations: 0 / 0.8994 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of Templates: time 0.08626/1.178, allocations: 48.56 MB / 0.9468 GB, free: 3.242 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)