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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6839/0.6839, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 403.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 106.2 kB / 484.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000994/0.000994, allocations: 47.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1388, allocations: 80.2 MB / 0.6402 GB, free: 6.812 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.436/0.5748, allocations: 131.3 MB / 0.7684 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03125/0.6061, allocations: 23.29 MB / 0.7911 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005587/0.6117, allocations: 119.2 kB / 0.7912 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.6167, allocations: 1.216 MB / 0.7924 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.6313, allocations: 3.76 MB / 0.7961 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006208/0.6375, allocations: 1.963 MB / 0.798 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.6492, allocations: 8.31 MB / 0.8061 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.653, allocations: 1.974 MB / 0.8081 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00582/0.6588, allocations: 2.391 MB / 0.8104 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/0.6625, allocations: 1.878 MB / 0.8122 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.6636, allocations: 120 kB / 0.8123 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00563/0.6693, allocations: 1.734 MB / 0.814 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008039/0.6701, allocations: 493.6 kB / 0.8145 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.6727, allocations: 1.329 MB / 0.8158 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006082/0.6788, allocations: 4.238 MB / 0.8199 GB, free: 460 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6788, allocations: 0 / 0.8199 GB, free: 460 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6788, allocations: 0 / 0.8199 GB, free: 460 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.777e-05/0.6788, allocations: 3.938 kB / 0.82 GB, free: 456 kB / 0.5417 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.005667/0.6845, allocations: 3.169 MB / 0.823 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6846, allocations: 15.97 kB / 0.8231 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.6889, allocations: 0.8395 MB / 0.8239 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.6934, allocations: 2.291 MB / 0.8261 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009505/0.6943, allocations: 290.8 kB / 0.8264 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.6946, allocations: 164 kB / 0.8266 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.6985, allocations: 1.934 MB / 0.8284 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.6986, allocations: 0 / 0.8284 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.6987, allocations: 67.94 kB / 0.8285 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.6988, allocations: 36 kB / 0.8285 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.7036, allocations: 1.815 MB / 0.8303 GB, free: 5.602 MB / 0.5573 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.01306/0.7167, allocations: 9.008 MB / 0.8391 GB, free: 12 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.721, allocations: 1.192 MB / 0.8403 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.7221, allocations: 461.4 kB / 0.8407 GB, free: 10.33 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.7233, allocations: 1.719 MB / 0.8424 GB, free: 8.227 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.7233, allocations: 54.5 kB / 0.8424 GB, free: 8.164 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 3.607e-06/0.7233, allocations: 0 / 0.8424 GB, free: 8.164 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.008878/0.7322, allocations: 2.324 MB / 0.8447 GB, free: 5.785 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.7323, allocations: 85.11 kB / 0.8448 GB, free: 5.684 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.7362, allocations: 2.492 MB / 0.8472 GB, free: 3.172 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.7363, allocations: 49.7 kB / 0.8473 GB, free: 3.117 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/0.7372, allocations: 1.045 MB / 0.8483 GB, free: 2.062 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.7374, allocations: 264.2 kB / 0.8486 GB, free: 1.801 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.7379, allocations: 258.6 kB / 0.8488 GB, free: 1.539 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.738, allocations: 345.9 kB / 0.8491 GB, free: 1.195 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.7398, allocations: 0.5881 MB / 0.8497 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.7422, allocations: 0.9622 MB / 0.8506 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/0.7453, allocations: 1.268 MB / 0.8519 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.7453, allocations: 0 / 0.8519 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006916/0.7523, allocations: 2.051 MB / 0.8539 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.7523, allocations: 8 kB / 0.8539 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.7523, allocations: 12.56 kB / 0.8539 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.7541, allocations: 421.7 kB / 0.8543 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.7553, allocations: 283.6 kB / 0.8546 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.7576, allocations: 1.516 MB / 0.8561 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/0.7607, allocations: 435.8 kB / 0.8565 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.7609, allocations: 55.97 kB / 0.8565 GB, free: 9.289 MB / 0.5886 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.0009024/0.7618, allocations: 461.5 kB / 0.857 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008605/0.7627, allocations: 244.9 kB / 0.8572 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/0.7671, allocations: 1.502 MB / 0.8587 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.7671, allocations: 12 kB / 0.8587 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.7672, allocations: 4 kB / 0.8587 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.7672, allocations: 3.984 kB / 0.8587 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009133/0.7763, allocations: 3.604 MB / 0.8622 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7764, allocations: 4 kB / 0.8622 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.777, allocations: 132.1 kB / 0.8623 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.7787, allocations: 415.6 kB / 0.8627 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.7787, allocations: 27.98 kB / 0.8628 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/0.7815, allocations: 1.573 MB / 0.8643 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7816, allocations: 4 kB / 0.8643 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009219/0.7908, allocations: 3.509 MB / 0.8677 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.7922, allocations: 485.6 kB / 0.8682 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005882/0.7928, allocations: 20 kB / 0.8682 GB, free: 13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/0.795, allocations: 175.7 kB / 0.8684 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.7951, allocations: 63.8 kB / 0.8684 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.7952, allocations: 39.97 kB / 0.8685 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003702/0.7989, allocations: 1.757 MB / 0.8702 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.7989, allocations: 0 / 0.8702 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002531/0.8015, allocations: 0.6983 MB / 0.8709 GB, free: 10.26 MB / 0.6042 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.001406/0.8029, allocations: 0.6055 MB / 0.8715 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00459/0.8075, allocations: 1.362 MB / 0.8728 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8075, allocations: 4 kB / 0.8728 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.81, allocations: 0.6563 MB / 0.8734 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007857/0.8178, allocations: 1.248 MB / 0.8747 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/0.8265, allocations: 4.771 MB / 0.8793 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.828, allocations: 1.509 MB / 0.8808 GB, free: 4 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002485/0.8305, allocations: 436.5 kB / 0.8812 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.8311, allocations: 167.4 kB / 0.8814 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.8311, allocations: 0 / 0.8814 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.08073/0.9119, allocations: 49.68 MB / 0.9299 GB, free: 14.21 MB / 0.6667 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)