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.000766/0.0007661, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005668/0.005669, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9701/0.9701, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 13.31 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5344/0.7462, allocations: 129.3 MB / 0.7142 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04259/0.7889, allocations: 23.03 MB / 0.7367 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007591/0.7965, allocations: 108.3 kB / 0.7368 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005782/0.8023, allocations: 1.212 MB / 0.738 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01826/0.8206, allocations: 3.766 MB / 0.7417 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008355/0.829, allocations: 1.952 MB / 0.7436 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01443/0.8435, allocations: 8.286 MB / 0.7517 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005105/0.8486, allocations: 1.916 MB / 0.7535 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008218/0.8569, allocations: 2.302 MB / 0.7558 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004851/0.8618, allocations: 1.789 MB / 0.7575 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009256/0.8627, allocations: 88 kB / 0.7576 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006761/0.8695, allocations: 1.715 MB / 0.7593 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.8707, allocations: 449.6 kB / 0.7597 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004423/0.8752, allocations: 1.299 MB / 0.761 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.886, allocations: 4.139 MB / 0.765 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.886, allocations: 0 / 0.765 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.817e-06/0.886, allocations: 0 / 0.765 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001877/0.8862, allocations: 0 / 0.765 GB, free: 6.848 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.008117/0.8943, allocations: 2.678 MB / 0.7677 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8944, allocations: 8.031 kB / 0.7677 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.8994, allocations: 0.9606 MB / 0.7686 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006081/0.9055, allocations: 2.284 MB / 0.7708 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/0.9066, allocations: 326.8 kB / 0.7711 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.9071, allocations: 168 kB / 0.7713 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005305/0.9124, allocations: 1.977 MB / 0.7732 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.9125, allocations: 0 / 0.7732 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.9127, allocations: 67.94 kB / 0.7733 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.9127, allocations: 36 kB / 0.7733 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005479/0.9182, allocations: 1.897 MB / 0.7752 GB, free: 12.23 MB / 0.5919 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.01633/0.9346, allocations: 9.094 MB / 0.7841 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/0.9393, allocations: 1.294 MB / 0.7853 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.9405, allocations: 478.2 kB / 0.7858 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.942, allocations: 1.726 MB / 0.7875 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.9421, allocations: 46.25 kB / 0.7875 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.476e-06/0.9421, allocations: 0 / 0.7875 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009576/0.9517, allocations: 2.503 MB / 0.79 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.9518, allocations: 89.11 kB / 0.79 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/0.9573, allocations: 2.512 MB / 0.7925 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.9576, allocations: 45.7 kB / 0.7925 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9587, allocations: 1.045 MB / 0.7936 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/0.9592, allocations: 264.2 kB / 0.7938 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.9595, allocations: 93.61 kB / 0.7939 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.9596, allocations: 353.9 kB / 0.7942 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.9617, allocations: 0.6349 MB / 0.7949 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.9643, allocations: 1.005 MB / 0.7958 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.9677, allocations: 1.324 MB / 0.7971 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.9677, allocations: 4 kB / 0.7971 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007524/0.9752, allocations: 2.185 MB / 0.7993 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.9753, allocations: 12.12 kB / 0.7993 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.9753, allocations: 8 kB / 0.7993 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.9772, allocations: 444.4 kB / 0.7997 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.9787, allocations: 303.6 kB / 0.8 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.9812, allocations: 1.561 MB / 0.8015 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/0.9847, allocations: 472.2 kB / 0.802 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.9851, allocations: 59.97 kB / 0.802 GB, free: 15.27 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.001236/0.9863, allocations: 466.9 kB / 0.8025 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007461/0.9871, allocations: 248.8 kB / 0.8027 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.9914, allocations: 1.546 MB / 0.8042 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.9914, allocations: 15.98 kB / 0.8042 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.9914, allocations: 0 / 0.8042 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9915, allocations: 3.984 kB / 0.8043 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009892/1.001, allocations: 3.701 MB / 0.8079 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.001, allocations: 0 / 0.8079 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006485/1.002, allocations: 144.1 kB / 0.808 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/1.004, allocations: 441.2 kB / 0.8084 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/1.004, allocations: 19.98 kB / 0.8084 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/1.007, allocations: 1.635 MB / 0.81 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.007, allocations: 8.062 kB / 0.81 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0071/1.014, allocations: 2.076 MB / 0.8121 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.016, allocations: 0.5093 MB / 0.8126 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009046/1.017, allocations: 20 kB / 0.8126 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.02, allocations: 195.7 kB / 0.8128 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.02, allocations: 59.81 kB / 0.8128 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.02, allocations: 43.95 kB / 0.8129 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004791/1.025, allocations: 1.769 MB / 0.8146 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.834e-06/1.025, allocations: 0 / 0.8146 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003249/1.028, allocations: 0.6944 MB / 0.8153 GB, free: 1.426 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.00171/1.03, allocations: 0.5814 MB / 0.8158 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004808/1.035, allocations: 1.448 MB / 0.8173 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.035, allocations: 4 kB / 0.8173 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.037, allocations: 0.7191 MB / 0.818 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009083/1.047, allocations: 1.319 MB / 0.8193 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/1.055, allocations: 4.339 MB / 0.8235 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/1.057, allocations: 1.491 MB / 0.825 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002706/1.06, allocations: 436.5 kB / 0.8254 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007524/1.061, allocations: 179.4 kB / 0.8255 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of SimCode: time 1.984e-06/1.061, allocations: 0 / 0.8255 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of Templates: time 0.4365/1.497, allocations: 50.79 MB / 0.8751 GB, free: 195.9 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)