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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 111.8 kB / 17.33 MB, free: 5.043 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.001411/0.001411, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.509/1.509, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8869/0.8869, allocations: 128.4 MB / 426.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 70.2 kB / 0.5912 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 83.25 MB / 0.6724 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0777/0.2266, allocations: 71.06 MB / 0.7418 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.503/0.7296, allocations: 18.98 MB / 0.7604 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.7317, allocations: 72.72 kB / 0.7604 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.734, allocations: 0.8453 MB / 0.7613 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009349/0.7433, allocations: 2.991 MB / 0.7642 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.7482, allocations: 1.674 MB / 0.7658 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007258/0.7554, allocations: 4.032 MB / 0.7698 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.7577, allocations: 1.174 MB / 0.7709 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.7627, allocations: 1.936 MB / 0.7728 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.7651, allocations: 1.21 MB / 0.774 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.7653, allocations: 175.5 kB / 0.7742 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.7688, allocations: 1.441 MB / 0.7756 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.7692, allocations: 401.6 kB / 0.7759 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.7704, allocations: 0.912 MB / 0.7768 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.7759, allocations: 3.123 MB / 0.7799 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.7759, allocations: 0 / 0.7799 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.624e-06/0.7759, allocations: 0 / 0.7799 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.228e-05/0.776, allocations: 4 kB / 0.7799 GB, free: 16.56 MB / 0.5762 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.004825/0.7808, allocations: 2.09 MB / 0.7819 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7809, allocations: 9.094 kB / 0.7819 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.7832, allocations: 451.7 kB / 0.7824 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.7861, allocations: 1.566 MB / 0.7839 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.7862, allocations: 79.62 kB / 0.784 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.7864, allocations: 105.5 kB / 0.7841 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.7892, allocations: 1.309 MB / 0.7854 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.7893, allocations: 9.938 kB / 0.7854 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.7894, allocations: 43.19 kB / 0.7854 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.7894, allocations: 26.94 kB / 0.7854 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.7922, allocations: 1.098 MB / 0.7865 GB, free: 14.62 MB / 0.5762 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.009438/0.8017, allocations: 7.52 MB / 0.7938 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.8047, allocations: 0.777 MB / 0.7946 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.8052, allocations: 262.8 kB / 0.7949 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008808/0.8061, allocations: 1.722 MB / 0.7965 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.8062, allocations: 41.33 kB / 0.7966 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.8062, allocations: 0 / 0.7966 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004575/0.8107, allocations: 1.341 MB / 0.7979 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.8108, allocations: 57.66 kB / 0.7979 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.8133, allocations: 1.553 MB / 0.7995 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.8134, allocations: 38.61 kB / 0.7995 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.8138, allocations: 0.6756 MB / 0.8002 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.814, allocations: 180.7 kB / 0.8003 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.8143, allocations: 180.8 kB / 0.8005 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.8143, allocations: 333.3 kB / 0.8008 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008437/0.8152, allocations: 362.3 kB / 0.8012 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.8162, allocations: 0.6594 MB / 0.8018 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.8177, allocations: 0.8891 MB / 0.8027 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.8177, allocations: 2.312 kB / 0.8027 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002815/0.8205, allocations: 1.196 MB / 0.8038 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.8206, allocations: 15.14 kB / 0.8039 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.8206, allocations: 6.031 kB / 0.8039 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/0.8214, allocations: 223.2 kB / 0.8041 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.8222, allocations: 187.7 kB / 0.8043 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006846/0.8229, allocations: 0.7249 MB / 0.805 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.8246, allocations: 214.4 kB / 0.8052 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.8247, allocations: 40.42 kB / 0.8052 GB, free: 1.227 MB / 0.5762 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 (84): * Single equations (assignments): 83 * 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.0007201/0.8254, allocations: 364.8 kB / 0.8056 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.8258, allocations: 157.1 kB / 0.8057 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.8279, allocations: 1.137 MB / 0.8068 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.8279, allocations: 8.281 kB / 0.8068 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8279, allocations: 0 / 0.8068 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.8279, allocations: 3.984 kB / 0.8068 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.8333, allocations: 2.516 MB / 0.8093 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.8333, allocations: 1.688 kB / 0.8093 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.8337, allocations: 79.64 kB / 0.8094 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007309/0.8344, allocations: 216.5 kB / 0.8096 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.8344, allocations: 19.61 kB / 0.8096 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.8357, allocations: 0.7719 MB / 0.8103 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8357, allocations: 6.281 kB / 0.8103 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.8391, allocations: 1.211 MB / 0.8115 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007373/0.8398, allocations: 350.1 kB / 0.8119 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.8401, allocations: 19.14 kB / 0.8119 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/0.841, allocations: 70.67 kB / 0.8119 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8411, allocations: 45.22 kB / 0.812 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.8411, allocations: 24.39 kB / 0.812 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001801/0.8429, allocations: 1.088 MB / 0.8131 GB, free: 12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8429, allocations: 0 / 0.8131 GB, free: 12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001461/0.8444, allocations: 450.6 kB / 0.8135 GB, free: 11.89 MB / 0.5919 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.0009948/0.8454, allocations: 489.8 kB / 0.814 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.8475, allocations: 0.8338 MB / 0.8148 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8475, allocations: 0 / 0.8148 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.8488, allocations: 412.7 kB / 0.8152 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.8519, allocations: 0.7533 MB / 0.8159 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.8558, allocations: 2.275 MB / 0.8181 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008016/0.8566, allocations: 1.169 MB / 0.8193 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009829/0.8576, allocations: 271 kB / 0.8195 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.8578, allocations: 119.7 kB / 0.8197 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/0.8578, allocations: 0 / 0.8197 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of Templates: time 0.05894/0.9168, allocations: 32.09 MB / 0.851 GB, free: 9.012 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (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) [Timeout 480]