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.005607/0.005607, allocations: 100.5 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.001221/0.001221, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8105/0.8105, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 66.8 kB / 0.5813 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1833, allocations: 80.21 MB / 0.6597 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5589/0.7423, allocations: 132.2 MB / 0.7887 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03149/0.7739, allocations: 23.19 MB / 0.8114 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006913/0.7808, allocations: 125.8 kB / 0.8115 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005549/0.7864, allocations: 1.535 MB / 0.813 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.8007, allocations: 4.304 MB / 0.8172 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006025/0.8067, allocations: 2.177 MB / 0.8193 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.8177, allocations: 6.55 MB / 0.8257 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004934/0.8227, allocations: 2.359 MB / 0.828 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/0.831, allocations: 2.838 MB / 0.8308 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004508/0.8355, allocations: 1.874 MB / 0.8326 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.8367, allocations: 252.2 kB / 0.8329 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006512/0.8432, allocations: 1.936 MB / 0.8348 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.8446, allocations: 0.601 MB / 0.8354 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003693/0.8483, allocations: 1.453 MB / 0.8368 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009777/0.8581, allocations: 4.394 MB / 0.8411 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.8582, allocations: 0 / 0.8411 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8582, allocations: 4 kB / 0.8411 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001433/0.8584, allocations: 0 / 0.8411 GB, free: 1.918 MB / 0.5919 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.01093/0.8693, allocations: 3.18 MB / 0.8442 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8694, allocations: 12.03 kB / 0.8442 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/0.874, allocations: 0.8395 MB / 0.845 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.88, allocations: 2.323 MB / 0.8473 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.8802, allocations: 127 kB / 0.8474 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005275/0.8807, allocations: 164 kB / 0.8476 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/0.8858, allocations: 1.926 MB / 0.8494 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.8859, allocations: 0 / 0.8494 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.886, allocations: 71.94 kB / 0.8495 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.8861, allocations: 39.98 kB / 0.8495 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00444/0.8905, allocations: 1.788 MB / 0.8513 GB, free: 7.223 MB / 0.6075 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.01387/0.9044, allocations: 8.962 MB / 0.86 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/0.9085, allocations: 1.186 MB / 0.8612 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.9096, allocations: 470.1 kB / 0.8616 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.9109, allocations: 1.726 MB / 0.8633 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.9109, allocations: 46.56 kB / 0.8634 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/0.9109, allocations: 0 / 0.8634 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008483/0.9194, allocations: 2.319 MB / 0.8656 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.9195, allocations: 85.11 kB / 0.8657 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/0.9237, allocations: 2.512 MB / 0.8682 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/0.9239, allocations: 45.7 kB / 0.8682 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.925, allocations: 1.034 MB / 0.8692 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000402/0.9254, allocations: 264.2 kB / 0.8695 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/0.9259, allocations: 262.5 kB / 0.8697 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.9261, allocations: 357.9 kB / 0.8701 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.9277, allocations: 0.5686 MB / 0.8706 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.9297, allocations: 0.9504 MB / 0.8716 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.9325, allocations: 1.244 MB / 0.8728 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.9325, allocations: 3.938 kB / 0.8728 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006338/0.9389, allocations: 2.017 MB / 0.8747 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.9389, allocations: 8 kB / 0.8747 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.9389, allocations: 8 kB / 0.8748 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.9406, allocations: 433.2 kB / 0.8752 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.9418, allocations: 279.6 kB / 0.8754 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.9439, allocations: 1.51 MB / 0.8769 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.9469, allocations: 366 kB / 0.8773 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.9471, allocations: 59.95 kB / 0.8773 GB, free: 11.1 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.001042/0.9481, allocations: 461.5 kB / 0.8778 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/0.9488, allocations: 244.9 kB / 0.878 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/0.9523, allocations: 1.494 MB / 0.8794 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.9524, allocations: 12 kB / 0.8795 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9524, allocations: 0 / 0.8795 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.9524, allocations: 7.984 kB / 0.8795 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00773/0.9601, allocations: 3.605 MB / 0.883 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.9602, allocations: 4 kB / 0.883 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.9608, allocations: 132.2 kB / 0.8831 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.9623, allocations: 421.2 kB / 0.8835 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/0.9624, allocations: 23.98 kB / 0.8835 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.9648, allocations: 1.571 MB / 0.8851 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9649, allocations: 4 kB / 0.8851 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/0.9708, allocations: 1.935 MB / 0.887 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.9721, allocations: 489.5 kB / 0.8874 GB, free: 464 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.9724, allocations: 20 kB / 0.8875 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.974, allocations: 139.8 kB / 0.8876 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.9741, allocations: 63.81 kB / 0.8877 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.9743, allocations: 39.95 kB / 0.8877 GB, free: 200 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003117/0.9774, allocations: 1.75 MB / 0.8894 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9774, allocations: 0 / 0.8894 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002305/0.9797, allocations: 0.6867 MB / 0.8901 GB, free: 13.75 MB / 0.6544 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.001346/0.9811, allocations: 0.6154 MB / 0.8907 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004093/0.9852, allocations: 1.346 MB / 0.892 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.9852, allocations: 0 / 0.892 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.9874, allocations: 0.6652 MB / 0.8926 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006092/0.9935, allocations: 1.331 MB / 0.8939 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/0.9997, allocations: 3.538 MB / 0.8974 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.001, allocations: 1.49 MB / 0.8988 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001854/1.003, allocations: 436.5 kB / 0.8993 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/1.003, allocations: 163.4 kB / 0.8994 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of SimCode: time 1.112e-06/1.003, allocations: 0 / 0.8994 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of Templates: time 0.07981/1.083, allocations: 48.57 MB / 0.9468 GB, free: 3.977 MB / 0.7012 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)