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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 133.3 MB / 150.1 MB, free: 11.15 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.404/1.404, allocations: 222.9 MB / 404.7 MB, free: 6.078 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.001071/0.001071, allocations: 107 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 59.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1436, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4175/0.5611, allocations: 131.3 MB / 0.7704 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03292/0.5941, allocations: 23.29 MB / 0.7931 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006147/0.6003, allocations: 119.2 kB / 0.7932 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.005216/0.6055, allocations: 1.208 MB / 0.7944 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.6192, allocations: 3.762 MB / 0.7981 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005946/0.6252, allocations: 1.96 MB / 0.8 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.6369, allocations: 8.315 MB / 0.8081 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003849/0.6408, allocations: 1.966 MB / 0.81 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006087/0.6469, allocations: 2.403 MB / 0.8124 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004023/0.651, allocations: 1.866 MB / 0.8142 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0007179/0.6517, allocations: 120 kB / 0.8143 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004925/0.6567, allocations: 1.742 MB / 0.816 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0006384/0.6573, allocations: 485.7 kB / 0.8165 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.6596, allocations: 1.329 MB / 0.8178 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00628/0.6659, allocations: 4.238 MB / 0.8219 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6659, allocations: 0 / 0.8219 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6659, allocations: 0 / 0.8219 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.155e-05/0.666, allocations: 0 / 0.8219 GB, free: 14.42 MB / 0.5573 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.006251/0.6723, allocations: 3.176 MB / 0.825 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6723, allocations: 8.031 kB / 0.825 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.677, allocations: 0.8434 MB / 0.8258 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005647/0.6827, allocations: 2.282 MB / 0.8281 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/0.6839, allocations: 298.8 kB / 0.8284 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.6843, allocations: 160 kB / 0.8285 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/0.6886, allocations: 1.934 MB / 0.8304 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.6886, allocations: 8 kB / 0.8304 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.6888, allocations: 67.94 kB / 0.8305 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.6888, allocations: 43.94 kB / 0.8305 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004909/0.6937, allocations: 1.815 MB / 0.8323 GB, free: 3.566 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.01302/0.7068, allocations: 9 MB / 0.8411 GB, free: 9.965 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/0.7111, allocations: 1.198 MB / 0.8422 GB, free: 8.754 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.7123, allocations: 461.4 kB / 0.8427 GB, free: 8.297 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.7135, allocations: 1.727 MB / 0.8444 GB, free: 6.184 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.7135, allocations: 42.31 kB / 0.8444 GB, free: 6.133 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 2.535e-06/0.7135, allocations: 0 / 0.8444 GB, free: 6.133 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.008976/0.7225, allocations: 2.321 MB / 0.8467 GB, free: 3.758 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.7226, allocations: 89.05 kB / 0.8468 GB, free: 3.652 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.7266, allocations: 2.496 MB / 0.8492 GB, free: 1.137 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.7268, allocations: 49.64 kB / 0.8492 GB, free: 1.082 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/0.7277, allocations: 1.041 MB / 0.8503 GB, free: 32 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.728, allocations: 268.2 kB / 0.8505 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004471/0.7284, allocations: 250.6 kB / 0.8508 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7286, allocations: 349.9 kB / 0.8511 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.7304, allocations: 0.5842 MB / 0.8517 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.7326, allocations: 0.9738 MB / 0.8526 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.7356, allocations: 1.264 MB / 0.8538 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.7357, allocations: 4 kB / 0.8538 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006888/0.7426, allocations: 2.043 MB / 0.8558 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7426, allocations: 11.94 kB / 0.8559 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7426, allocations: 8.625 kB / 0.8559 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.7443, allocations: 425.2 kB / 0.8563 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7455, allocations: 291.5 kB / 0.8565 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.7477, allocations: 1.503 MB / 0.858 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/0.7508, allocations: 440 kB / 0.8584 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.751, allocations: 63.95 kB / 0.8585 GB, free: 7.246 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.0008704/0.7519, allocations: 454.1 kB / 0.8589 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/0.7524, allocations: 252.9 kB / 0.8592 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.7562, allocations: 1.49 MB / 0.8606 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.7562, allocations: 12 kB / 0.8606 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7562, allocations: 0 / 0.8606 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7562, allocations: 7.969 kB / 0.8606 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007791/0.764, allocations: 3.598 MB / 0.8642 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.7641, allocations: 4 kB / 0.8642 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.7647, allocations: 136.1 kB / 0.8643 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.7662, allocations: 417.2 kB / 0.8647 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.7663, allocations: 31.91 kB / 0.8647 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.7689, allocations: 1.565 MB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7689, allocations: 7.938 kB / 0.8663 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008951/0.7779, allocations: 3.52 MB / 0.8697 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.779, allocations: 481.7 kB / 0.8702 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.7793, allocations: 19.98 kB / 0.8702 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/0.7812, allocations: 171.7 kB / 0.8703 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.7813, allocations: 51.88 kB / 0.8704 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.7813, allocations: 47.95 kB / 0.8704 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002939/0.7843, allocations: 1.75 MB / 0.8721 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7843, allocations: 0 / 0.8721 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002028/0.7863, allocations: 0.6944 MB / 0.8728 GB, free: 8.238 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.001091/0.7874, allocations: 0.6148 MB / 0.8734 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004134/0.7916, allocations: 1.357 MB / 0.8747 GB, free: 6.266 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7916, allocations: 0 / 0.8747 GB, free: 6.266 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.794, allocations: 0.6602 MB / 0.8754 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00621/0.8002, allocations: 1.269 MB / 0.8766 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007199/0.8074, allocations: 4.749 MB / 0.8813 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.8085, allocations: 1.513 MB / 0.8827 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00209/0.8106, allocations: 436.5 kB / 0.8832 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.811, allocations: 175.4 kB / 0.8833 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of SimCode: time 4.7e-07/0.811, allocations: 0 / 0.8833 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.07653/0.8876, allocations: 49.67 MB / 0.9318 GB, free: 12.19 MB / 0.6667 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)