Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 91.66 kB / 16.67 MB, free: 6.344 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.001609/0.001609, allocations: 179.4 kB / 17.58 MB, free: 5.965 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.427/1.427, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.73/0.73, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.432, allocations: 77.51 MB / 0.5606 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06416/0.4962, allocations: 68.8 MB / 0.6278 GB, free: 14.42 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02414/0.5204, allocations: 18.78 MB / 0.6461 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002993/0.5234, allocations: 63.56 kB / 0.6462 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.5257, allocations: 0.6527 MB / 0.6468 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00791/0.5337, allocations: 2.609 MB / 0.6493 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.5378, allocations: 1.489 MB / 0.6508 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006768/0.5446, allocations: 5.021 MB / 0.6557 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.5466, allocations: 1.148 MB / 0.6568 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.5507, allocations: 1.454 MB / 0.6582 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.5535, allocations: 1.104 MB / 0.6593 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.5538, allocations: 56 kB / 0.6594 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.5567, allocations: 1.224 MB / 0.6606 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.557, allocations: 258.6 kB / 0.6608 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.5581, allocations: 0.81 MB / 0.6616 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.5607, allocations: 2.377 MB / 0.6639 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5608, allocations: 0 / 0.6639 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5608, allocations: 0 / 0.6639 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.07e-05/0.5608, allocations: 0 / 0.6639 GB, free: 9.246 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003241/0.5641, allocations: 1.703 MB / 0.6656 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5641, allocations: 19.91 kB / 0.6656 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.5664, allocations: 0.4946 MB / 0.6661 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.5688, allocations: 1.517 MB / 0.6676 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/0.5692, allocations: 146 kB / 0.6677 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.5694, allocations: 100 kB / 0.6678 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.572, allocations: 1.322 MB / 0.6691 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.572, allocations: 0 / 0.6691 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5721, allocations: 48 kB / 0.6692 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.5722, allocations: 27.98 kB / 0.6692 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.5749, allocations: 1.163 MB / 0.6703 GB, free: 2.5 MB / 0.4981 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.008448/0.5834, allocations: 7.185 MB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.5868, allocations: 0.8916 MB / 0.6782 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.5874, allocations: 302 kB / 0.6785 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.5888, allocations: 1.718 MB / 0.6802 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5888, allocations: 46.88 kB / 0.6802 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.5888, allocations: 0 / 0.6802 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.005044/0.5939, allocations: 1.448 MB / 0.6816 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.5939, allocations: 63.83 kB / 0.6817 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.5964, allocations: 1.529 MB / 0.6832 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.5965, allocations: 41.7 kB / 0.6832 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.5971, allocations: 0.6653 MB / 0.6839 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.5973, allocations: 177.5 kB / 0.684 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5974, allocations: 57.69 kB / 0.6841 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5975, allocations: 330 kB / 0.6844 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.5986, allocations: 389.8 kB / 0.6848 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.5998, allocations: 0.6627 MB / 0.6854 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.6017, allocations: 0.899 MB / 0.6863 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6017, allocations: 0 / 0.6863 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004603/0.6063, allocations: 1.439 MB / 0.6877 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6063, allocations: 8 kB / 0.6877 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.6063, allocations: 4 kB / 0.6877 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/0.6073, allocations: 233.2 kB / 0.6879 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.6081, allocations: 195.7 kB / 0.6881 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009203/0.609, allocations: 0.7279 MB / 0.6888 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.6108, allocations: 266.7 kB / 0.6891 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.6109, allocations: 39.98 kB / 0.6891 GB, free: 13.99 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000673/0.6116, allocations: 361.5 kB / 0.6895 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.6118, allocations: 142.2 kB / 0.6896 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.6143, allocations: 1.182 MB / 0.6908 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.6144, allocations: 8 kB / 0.6908 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6144, allocations: 3.938 kB / 0.6908 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.6144, allocations: 3.984 kB / 0.6908 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/0.6197, allocations: 2.592 MB / 0.6933 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6197, allocations: 0 / 0.6933 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.6201, allocations: 91.88 kB / 0.6934 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007803/0.6209, allocations: 236.6 kB / 0.6936 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.6209, allocations: 19.92 kB / 0.6936 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.6223, allocations: 0.8021 MB / 0.6944 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6223, allocations: 4.031 kB / 0.6944 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.6259, allocations: 1.281 MB / 0.6957 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/0.6265, allocations: 370.9 kB / 0.696 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.6268, allocations: 12 kB / 0.6961 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.6279, allocations: 115.7 kB / 0.6962 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.628, allocations: 36.45 kB / 0.6962 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.628, allocations: 27.98 kB / 0.6962 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001887/0.6299, allocations: 1.09 MB / 0.6973 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6299, allocations: 0 / 0.6973 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001453/0.6314, allocations: 435.4 kB / 0.6977 GB, free: 5.051 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009415/0.6324, allocations: 472.9 kB / 0.6982 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002246/0.6346, allocations: 0.8719 MB / 0.699 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6346, allocations: 0 / 0.699 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.636, allocations: 479.5 kB / 0.6995 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/0.6397, allocations: 0.7137 MB / 0.7002 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.6441, allocations: 2.822 MB / 0.7029 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/0.6449, allocations: 1.15 MB / 0.704 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.6453, allocations: 131.4 kB / 0.7042 GB, free: 14.37 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.6453, allocations: 3.938 kB / 0.7042 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Templates: time 0.05177/0.6971, allocations: 33.59 MB / 0.737 GB, free: 12.94 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)