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.00129/0.00129, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.00126/0.00126, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8024/0.8024, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 57.47 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1658, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.57/0.7358, allocations: 132.2 MB / 0.7894 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03143/0.7673, allocations: 23.2 MB / 0.812 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00624/0.7736, allocations: 128.9 kB / 0.8122 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00451/0.7781, allocations: 1.489 MB / 0.8136 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.7907, allocations: 4.084 MB / 0.8176 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006595/0.7973, allocations: 2.17 MB / 0.8197 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.8088, allocations: 6.538 MB / 0.8261 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004543/0.8134, allocations: 2.357 MB / 0.8284 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007587/0.8211, allocations: 2.816 MB / 0.8312 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004194/0.8253, allocations: 1.881 MB / 0.833 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006907/0.826, allocations: 248.2 kB / 0.8332 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005787/0.8318, allocations: 1.934 MB / 0.8351 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.8327, allocations: 0.6053 MB / 0.8357 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.8355, allocations: 1.455 MB / 0.8371 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009353/0.8449, allocations: 4.39 MB / 0.8414 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.845, allocations: 0 / 0.8414 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.365e-06/0.845, allocations: 0 / 0.8414 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001029/0.8451, allocations: 0 / 0.8414 GB, free: 2.254 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.006926/0.852, allocations: 3.187 MB / 0.8445 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8521, allocations: 12.03 kB / 0.8446 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.8565, allocations: 0.8434 MB / 0.8454 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005107/0.8616, allocations: 2.323 MB / 0.8476 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.8618, allocations: 123 kB / 0.8478 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.8621, allocations: 164 kB / 0.8479 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/0.866, allocations: 1.926 MB / 0.8498 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.8661, allocations: 4 kB / 0.8498 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.8662, allocations: 67.94 kB / 0.8499 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.8663, allocations: 36 kB / 0.8499 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004378/0.8706, allocations: 1.788 MB / 0.8516 GB, free: 7.555 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.01352/0.8842, allocations: 8.969 MB / 0.8604 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.8885, allocations: 1.19 MB / 0.8616 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.8895, allocations: 461.4 kB / 0.862 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.8909, allocations: 1.727 MB / 0.8637 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.891, allocations: 42.56 kB / 0.8637 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.891, allocations: 0 / 0.8637 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008339/0.8993, allocations: 2.327 MB / 0.866 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.8994, allocations: 93.05 kB / 0.8661 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005077/0.9045, allocations: 2.493 MB / 0.8685 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.9047, allocations: 49.7 kB / 0.8686 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.9057, allocations: 1.049 MB / 0.8696 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.9062, allocations: 264.2 kB / 0.8699 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005884/0.9068, allocations: 262.5 kB / 0.8701 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9069, allocations: 349.9 kB / 0.8704 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.9086, allocations: 0.5725 MB / 0.871 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.9107, allocations: 0.9543 MB / 0.8719 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.9137, allocations: 1.244 MB / 0.8731 GB, free: 156 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9137, allocations: 0 / 0.8731 GB, free: 156 kB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006484/0.9202, allocations: 2.016 MB / 0.8751 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.9203, allocations: 8 kB / 0.8751 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.9203, allocations: 8 kB / 0.8751 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.922, allocations: 429.8 kB / 0.8755 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.9232, allocations: 287.5 kB / 0.8758 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.9254, allocations: 1.499 MB / 0.8773 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.9284, allocations: 366 kB / 0.8776 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.9286, allocations: 63.97 kB / 0.8777 GB, free: 11.42 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.001086/0.9297, allocations: 457.5 kB / 0.8781 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000856/0.9306, allocations: 244.9 kB / 0.8784 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.9345, allocations: 1.499 MB / 0.8798 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.9346, allocations: 8 kB / 0.8798 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.9346, allocations: 8 kB / 0.8798 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.9346, allocations: 3.984 kB / 0.8798 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008594/0.9432, allocations: 3.609 MB / 0.8834 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.9433, allocations: 4 kB / 0.8834 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.9439, allocations: 131.8 kB / 0.8835 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.9455, allocations: 413.2 kB / 0.8839 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.9456, allocations: 27.98 kB / 0.8839 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.9483, allocations: 1.566 MB / 0.8854 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.9483, allocations: 7.938 kB / 0.8855 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006292/0.9546, allocations: 1.931 MB / 0.8873 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.956, allocations: 493.5 kB / 0.8878 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006426/0.9566, allocations: 16 kB / 0.8878 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/0.9588, allocations: 135.8 kB / 0.888 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.9589, allocations: 63.8 kB / 0.888 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.959, allocations: 39.97 kB / 0.8881 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003793/0.9628, allocations: 1.753 MB / 0.8898 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9628, allocations: 96 / 0.8898 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002576/0.9654, allocations: 0.6905 MB / 0.8904 GB, free: 14.08 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.00144/0.9669, allocations: 0.6224 MB / 0.891 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004186/0.9711, allocations: 1.35 MB / 0.8924 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.9711, allocations: 4 kB / 0.8924 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.9734, allocations: 0.6574 MB / 0.893 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/0.9791, allocations: 1.326 MB / 0.8943 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/0.985, allocations: 3.569 MB / 0.8978 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.986, allocations: 1.482 MB / 0.8992 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/0.9866, allocations: 183.4 kB / 0.8994 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.9866, allocations: 0 / 0.8994 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of Templates: time 0.07831/1.065, allocations: 62.61 MB / 0.9606 GB, free: 6.418 MB / 0.7169 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)