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.005952/0.005952, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00118/0.00118, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8371/0.8371, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59 kB / 0.5856 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1831, allocations: 80.92 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5433/0.7264, allocations: 132.2 MB / 0.7937 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03167/0.7581, allocations: 23.19 MB / 0.8164 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00917/0.7673, allocations: 125.5 kB / 0.8165 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005819/0.7732, allocations: 1.535 MB / 0.818 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.7895, allocations: 4.307 MB / 0.8222 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006666/0.7962, allocations: 2.171 MB / 0.8243 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01167/0.8079, allocations: 6.558 MB / 0.8307 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005584/0.8135, allocations: 2.36 MB / 0.833 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008378/0.8219, allocations: 2.823 MB / 0.8358 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/0.8268, allocations: 1.888 MB / 0.8376 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.8284, allocations: 251.1 kB / 0.8378 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007455/0.8359, allocations: 1.938 MB / 0.8397 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.8374, allocations: 0.5915 MB / 0.8403 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00414/0.8416, allocations: 1.462 MB / 0.8417 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.8518, allocations: 4.388 MB / 0.846 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.8519, allocations: 0 / 0.846 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8519, allocations: 7.938 kB / 0.846 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001537/0.852, allocations: 0 / 0.846 GB, free: 11.1 MB / 0.6075 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.008916/0.8609, allocations: 3.172 MB / 0.8491 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.861, allocations: 13.11 kB / 0.8491 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/0.8656, allocations: 0.8434 MB / 0.85 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/0.872, allocations: 2.33 MB / 0.8522 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.8722, allocations: 127 kB / 0.8524 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.8727, allocations: 164 kB / 0.8525 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.8777, allocations: 1.919 MB / 0.8544 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/0.8778, allocations: 3.938 kB / 0.8544 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.878, allocations: 67.94 kB / 0.8545 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.878, allocations: 36 kB / 0.8545 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.8827, allocations: 1.792 MB / 0.8562 GB, free: 420 kB / 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.01514/0.8979, allocations: 8.971 MB / 0.865 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.902, allocations: 1.2 MB / 0.8662 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.9031, allocations: 469.3 kB / 0.8666 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.9045, allocations: 1.718 MB / 0.8683 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.9045, allocations: 46.56 kB / 0.8684 GB, free: 3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/0.9045, allocations: 0 / 0.8684 GB, free: 3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008144/0.9127, allocations: 2.328 MB / 0.8706 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.9128, allocations: 85.11 kB / 0.8707 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/0.9174, allocations: 2.504 MB / 0.8732 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.9176, allocations: 45.7 kB / 0.8732 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009378/0.9185, allocations: 1.037 MB / 0.8742 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.9189, allocations: 256.2 kB / 0.8745 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/0.9194, allocations: 262.6 kB / 0.8747 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9196, allocations: 349.9 kB / 0.875 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.9212, allocations: 0.5725 MB / 0.8756 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.9232, allocations: 0.9504 MB / 0.8765 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.926, allocations: 1.252 MB / 0.8777 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.926, allocations: 4 kB / 0.8778 GB, free: 9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00626/0.9323, allocations: 2.024 MB / 0.8797 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.9323, allocations: 11.94 kB / 0.8797 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.9324, allocations: 8 kB / 0.8797 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.9341, allocations: 428 kB / 0.8802 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.9352, allocations: 279.5 kB / 0.8804 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.9373, allocations: 1.503 MB / 0.8819 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.9401, allocations: 370 kB / 0.8822 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.9404, allocations: 59.97 kB / 0.8823 GB, free: 4.266 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.001075/0.9414, allocations: 461.8 kB / 0.8827 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00075/0.9422, allocations: 248.9 kB / 0.883 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.9459, allocations: 1.486 MB / 0.8844 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.9459, allocations: 15.98 kB / 0.8844 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9459, allocations: 4 kB / 0.8844 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.946, allocations: 3.984 kB / 0.8845 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008546/0.9545, allocations: 3.607 MB / 0.888 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.9546, allocations: 4 kB / 0.888 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.9552, allocations: 132.2 kB / 0.8881 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.9566, allocations: 413.2 kB / 0.8885 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.9567, allocations: 27.97 kB / 0.8885 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.9591, allocations: 1.561 MB / 0.89 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.9592, allocations: 7.969 kB / 0.8901 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005637/0.9648, allocations: 1.927 MB / 0.8919 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.9662, allocations: 489.6 kB / 0.8924 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006275/0.9668, allocations: 23.98 kB / 0.8924 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.9687, allocations: 135.8 kB / 0.8926 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.9689, allocations: 67.66 kB / 0.8926 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.969, allocations: 40.06 kB / 0.8927 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003713/0.9727, allocations: 1.753 MB / 0.8944 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9727, allocations: 0 / 0.8944 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002407/0.9751, allocations: 0.7022 MB / 0.8951 GB, free: 6.906 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.001441/0.9766, allocations: 0.6012 MB / 0.8956 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004084/0.9807, allocations: 1.35 MB / 0.897 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.9807, allocations: 0 / 0.897 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.9829, allocations: 0.6685 MB / 0.8976 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006271/0.9892, allocations: 1.32 MB / 0.8989 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006806/0.996, allocations: 3.526 MB / 0.9023 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.9973, allocations: 1.486 MB / 0.9038 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001884/0.9992, allocations: 440.5 kB / 0.9042 GB, free: 13.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.9997, allocations: 171.4 kB / 0.9044 GB, free: 13.27 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/0.9997, allocations: 0 / 0.9044 GB, free: 13.27 MB / 0.67 GB Notification: Performance of Templates: time 0.08377/1.084, allocations: 48.57 MB / 0.9518 GB, free: 13.14 MB / 0.7169 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)