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.0009208/0.0009206, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008022/0.008023, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7922/0.7922, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 12 kB / 0.504 GB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4562, allocations: 81.58 MB / 0.5837 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1251/0.5813, allocations: 129.3 MB / 0.71 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03686/0.6182, allocations: 23.03 MB / 0.7324 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006964/0.6253, allocations: 111.2 kB / 0.7326 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.6313, allocations: 1.208 MB / 0.7337 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.6468, allocations: 3.759 MB / 0.7374 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006934/0.6538, allocations: 1.96 MB / 0.7393 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.6665, allocations: 8.283 MB / 0.7474 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004684/0.6712, allocations: 1.916 MB / 0.7493 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00679/0.678, allocations: 2.302 MB / 0.7515 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004522/0.6826, allocations: 1.788 MB / 0.7533 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009971/0.6836, allocations: 92 kB / 0.7534 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005964/0.6896, allocations: 1.711 MB / 0.755 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.6908, allocations: 441.7 kB / 0.7555 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003674/0.6945, allocations: 1.296 MB / 0.7567 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009844/0.7043, allocations: 4.143 MB / 0.7608 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.7044, allocations: 0 / 0.7608 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7044, allocations: 3.938 kB / 0.7608 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002035/0.7046, allocations: 0 / 0.7608 GB, free: 10.57 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.008077/0.7127, allocations: 2.682 MB / 0.7634 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.7128, allocations: 8.031 kB / 0.7634 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/0.7181, allocations: 0.9489 MB / 0.7643 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/0.7242, allocations: 2.295 MB / 0.7666 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.7253, allocations: 322.8 kB / 0.7669 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.7257, allocations: 160 kB / 0.767 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.7303, allocations: 1.989 MB / 0.769 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.7303, allocations: 3.938 kB / 0.769 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.7305, allocations: 64 kB / 0.769 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.7306, allocations: 36 kB / 0.7691 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005152/0.7357, allocations: 1.897 MB / 0.7709 GB, free: 15.95 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.01497/0.7507, allocations: 9.09 MB / 0.7798 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004638/0.7554, allocations: 1.3 MB / 0.7811 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.7566, allocations: 477.4 kB / 0.7815 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.758, allocations: 1.727 MB / 0.7832 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.7581, allocations: 50.44 kB / 0.7832 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/0.7581, allocations: 0 / 0.7832 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009386/0.7675, allocations: 2.506 MB / 0.7857 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.7676, allocations: 85.11 kB / 0.7858 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/0.772, allocations: 2.512 MB / 0.7882 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.7722, allocations: 45.7 kB / 0.7883 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009751/0.7732, allocations: 1.049 MB / 0.7893 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.7736, allocations: 268.1 kB / 0.7896 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.7737, allocations: 93.66 kB / 0.7896 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7739, allocations: 345.9 kB / 0.79 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.7758, allocations: 0.6311 MB / 0.7906 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.7779, allocations: 1.013 MB / 0.7916 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/0.7811, allocations: 1.323 MB / 0.7929 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.7811, allocations: 4 kB / 0.7929 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007134/0.7882, allocations: 2.188 MB / 0.795 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.7883, allocations: 8 kB / 0.795 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.7883, allocations: 12.03 kB / 0.795 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.79, allocations: 437.2 kB / 0.7954 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.7914, allocations: 303.6 kB / 0.7957 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.7937, allocations: 1.553 MB / 0.7973 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/0.7972, allocations: 470 kB / 0.7977 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/0.7975, allocations: 67.95 kB / 0.7978 GB, free: 2.965 MB / 0.6231 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.001117/0.7986, allocations: 461.5 kB / 0.7982 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005958/0.7992, allocations: 248.9 kB / 0.7984 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.8029, allocations: 1.539 MB / 0.7999 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.8029, allocations: 16 kB / 0.8 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.803, allocations: 3.938 kB / 0.8 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.803, allocations: 7.969 kB / 0.8 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008326/0.8113, allocations: 3.682 MB / 0.8036 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.8114, allocations: 4 kB / 0.8036 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.812, allocations: 144.1 kB / 0.8037 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.8137, allocations: 436.1 kB / 0.8041 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.8138, allocations: 35.97 kB / 0.8042 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.8166, allocations: 1.624 MB / 0.8057 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8167, allocations: 8.078 kB / 0.8058 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006706/0.8234, allocations: 2.084 MB / 0.8078 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.8249, allocations: 0.5093 MB / 0.8083 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.8252, allocations: 16 kB / 0.8083 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.8271, allocations: 195.7 kB / 0.8085 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.8272, allocations: 59.8 kB / 0.8085 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/0.8273, allocations: 43.97 kB / 0.8086 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003177/0.8305, allocations: 1.769 MB / 0.8103 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8305, allocations: 0 / 0.8103 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002215/0.8327, allocations: 0.6827 MB / 0.811 GB, free: 5.148 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.001405/0.8342, allocations: 0.595 MB / 0.8116 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00451/0.8387, allocations: 1.455 MB / 0.813 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8387, allocations: 0 / 0.813 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.8411, allocations: 0.7188 MB / 0.8137 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008299/0.8494, allocations: 1.317 MB / 0.815 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.369/1.218, allocations: 4.34 MB / 0.8192 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.22, allocations: 1.486 MB / 0.8207 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002577/1.223, allocations: 437.8 kB / 0.8211 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.223, allocations: 178.5 kB / 0.8213 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.352e-06/1.223, allocations: 0 / 0.8213 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.08362/1.307, allocations: 50.8 MB / 0.8709 GB, free: 177.6 MB / 0.6387 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)