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.001071/0.001071, 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.001382/0.001382, allocations: 189.8 kB / 16.14 MB, free: 6.688 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 422.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 64.16 kB / 0.5011 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1751, allocations: 80.21 MB / 0.5794 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4952/0.6703, allocations: 131.3 MB / 0.7076 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04092/0.7113, allocations: 23.29 MB / 0.7304 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006525/0.7178, allocations: 114.4 kB / 0.7305 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.7227, allocations: 1.207 MB / 0.7317 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01398/0.7367, allocations: 3.768 MB / 0.7353 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008313/0.7451, allocations: 1.957 MB / 0.7373 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01538/0.7605, allocations: 8.28 MB / 0.7453 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005398/0.7659, allocations: 1.972 MB / 0.7473 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007575/0.7735, allocations: 2.372 MB / 0.7496 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/0.7784, allocations: 1.866 MB / 0.7514 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.7796, allocations: 120 kB / 0.7515 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006766/0.7863, allocations: 1.738 MB / 0.7532 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.7877, allocations: 489.6 kB / 0.7537 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.7921, allocations: 1.337 MB / 0.755 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.8033, allocations: 4.234 MB / 0.7591 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.8033, allocations: 0 / 0.7591 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8034, allocations: 3.938 kB / 0.7591 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.4e-05/0.8034, allocations: 0 / 0.7591 GB, free: 11.29 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.006924/0.8104, allocations: 3.169 MB / 0.7622 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/0.8105, allocations: 12.03 kB / 0.7622 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/0.8151, allocations: 0.8434 MB / 0.7631 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005011/0.8202, allocations: 2.28 MB / 0.7653 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009456/0.8211, allocations: 298.8 kB / 0.7656 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.8215, allocations: 160 kB / 0.7657 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.8258, allocations: 1.938 MB / 0.7676 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.8259, allocations: 0 / 0.7676 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.8261, allocations: 71.94 kB / 0.7677 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.8261, allocations: 36 kB / 0.7677 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00476/0.8309, allocations: 1.811 MB / 0.7695 GB, free: 464 kB / 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.0151/0.846, allocations: 9.007 MB / 0.7783 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.8502, allocations: 1.197 MB / 0.7795 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.8512, allocations: 458.9 kB / 0.7799 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.8525, allocations: 1.73 MB / 0.7816 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.8526, allocations: 46.5 kB / 0.7816 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.8526, allocations: 0 / 0.7816 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008544/0.8611, allocations: 2.322 MB / 0.7839 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.8612, allocations: 85.11 kB / 0.784 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/0.8653, allocations: 2.496 MB / 0.7864 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.8654, allocations: 45.7 kB / 0.7865 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/0.8664, allocations: 1.045 MB / 0.7875 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.8667, allocations: 272.2 kB / 0.7877 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.8671, allocations: 254.6 kB / 0.788 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8672, allocations: 349.9 kB / 0.7883 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.8689, allocations: 0.5881 MB / 0.7889 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.871, allocations: 0.966 MB / 0.7898 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/0.874, allocations: 1.257 MB / 0.7911 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.874, allocations: 8 kB / 0.7911 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006892/0.8809, allocations: 2.044 MB / 0.7931 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.881, allocations: 12 kB / 0.7931 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.881, allocations: 12.03 kB / 0.7931 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.8828, allocations: 423.9 kB / 0.7935 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.884, allocations: 287.6 kB / 0.7938 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.8861, allocations: 1.506 MB / 0.7952 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/0.8895, allocations: 438.1 kB / 0.7957 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.8897, allocations: 55.97 kB / 0.7957 GB, free: 4.148 MB / 0.6075 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.001006/0.8907, allocations: 463.2 kB / 0.7961 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006609/0.8914, allocations: 248.9 kB / 0.7964 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00355/0.8949, allocations: 1.497 MB / 0.7978 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.895, allocations: 8 kB / 0.7979 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.895, allocations: 0 / 0.7979 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.895, allocations: 7.984 kB / 0.7979 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007954/0.9029, allocations: 3.601 MB / 0.8014 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.903, allocations: 3.938 kB / 0.8014 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.9036, allocations: 136.1 kB / 0.8015 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.9054, allocations: 417.2 kB / 0.8019 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.9055, allocations: 27.98 kB / 0.8019 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.9082, allocations: 1.571 MB / 0.8035 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9083, allocations: 4.031 kB / 0.8035 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.9144, allocations: 1.935 MB / 0.8054 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/0.9159, allocations: 489.5 kB / 0.8058 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003866/0.9163, allocations: 16 kB / 0.8058 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.9181, allocations: 171.8 kB / 0.806 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.9182, allocations: 63.8 kB / 0.8061 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.9183, allocations: 43.97 kB / 0.8061 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003071/0.9214, allocations: 1.746 MB / 0.8078 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9214, allocations: 4 kB / 0.8078 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002196/0.9236, allocations: 0.6827 MB / 0.8085 GB, free: 6.777 MB / 0.6231 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.001211/0.9248, allocations: 0.5953 MB / 0.8091 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004244/0.9291, allocations: 1.354 MB / 0.8104 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9291, allocations: 4.188 kB / 0.8104 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.9314, allocations: 0.66 MB / 0.811 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006569/0.938, allocations: 1.264 MB / 0.8123 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/0.9449, allocations: 4.288 MB / 0.8165 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.946, allocations: 1.49 MB / 0.8179 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002266/0.9482, allocations: 432 kB / 0.8183 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.9487, allocations: 175.4 kB / 0.8185 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.9487, allocations: 0 / 0.8185 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of Templates: time 0.3765/1.325, allocations: 48.41 MB / 0.8658 GB, free: 220.3 MB / 0.67 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)