Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 92.7 kB / 20.21 MB, free: 4.23 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 161.3 kB / 23.52 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 177.2 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.585/0.585, allocations: 110.2 MB / 370.6 MB, free: 12.5 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 474.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.409e-05/4.681e-05, allocations: 3.062 kB / 474.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04976/0.0498, allocations: 64.49 MB / 0.5263 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.06874, allocations: 17.56 MB / 0.5434 GB, free: 13.52 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.07137, allocations: 95.19 kB / 0.5435 GB, free: 13.43 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.07347, allocations: 0.8382 MB / 0.5443 GB, free: 12.59 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00661/0.08008, allocations: 3.109 MB / 0.5474 GB, free: 9.461 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.08342, allocations: 1.765 MB / 0.5491 GB, free: 7.691 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005083/0.0885, allocations: 4.084 MB / 0.5531 GB, free: 3.594 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.09021, allocations: 1.173 MB / 0.5542 GB, free: 2.391 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.09411, allocations: 2.427 MB / 0.5566 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.09563, allocations: 1.032 MB / 0.5576 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003037/0.09593, allocations: 176 kB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.09794, allocations: 1.169 MB / 0.5589 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.0984, allocations: 414.3 kB / 0.5593 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006728/0.09907, allocations: 0.5924 MB / 0.5599 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003486/0.1026, allocations: 3.318 MB / 0.5631 GB, free: 9.254 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1026, allocations: 4 kB / 0.5631 GB, free: 9.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1026, allocations: 0 / 0.5631 GB, free: 9.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.736e-05/0.1026, allocations: 0 / 0.5631 GB, free: 9.25 MB / 490.7 MB 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.002937/0.1056, allocations: 2 MB / 0.5651 GB, free: 7.203 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1056, allocations: 8.031 kB / 0.5651 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.107, allocations: 0.5345 MB / 0.5656 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.109, allocations: 1.633 MB / 0.5672 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.1091, allocations: 78.03 kB / 0.5673 GB, free: 4.898 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1092, allocations: 104 kB / 0.5674 GB, free: 4.797 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.1109, allocations: 1.41 MB / 0.5687 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1109, allocations: 7.938 kB / 0.5687 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.111, allocations: 48 kB / 0.5688 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.111, allocations: 28 kB / 0.5688 GB, free: 3.172 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.1127, allocations: 1.093 MB / 0.5699 GB, free: 2.078 MB / 490.7 MB 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.005028/0.1177, allocations: 5.473 MB / 0.5752 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1194, allocations: 0.7757 MB / 0.576 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.1198, allocations: 262.2 kB / 0.5762 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/0.1201, allocations: 164.4 kB / 0.5764 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1201, allocations: 43 kB / 0.5764 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.985e-06/0.1201, allocations: 0 / 0.5764 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.002605/0.1228, allocations: 1.258 MB / 0.5777 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1228, allocations: 59.91 kB / 0.5777 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.124, allocations: 1.22 MB / 0.5789 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.1241, allocations: 37.7 kB / 0.579 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.1245, allocations: 0.7032 MB / 0.5796 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1246, allocations: 182.5 kB / 0.5798 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004453/0.125, allocations: 166.5 kB / 0.58 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.1251, allocations: 338 kB / 0.5803 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.1257, allocations: 361.8 kB / 0.5806 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.1265, allocations: 0.9845 MB / 0.5816 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1275, allocations: 0.8899 MB / 0.5825 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.1275, allocations: 12 kB / 0.5825 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001787/0.1293, allocations: 1.201 MB / 0.5837 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1293, allocations: 8 kB / 0.5837 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1293, allocations: 11.94 kB / 0.5837 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.1299, allocations: 216.6 kB / 0.5839 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.1304, allocations: 191.7 kB / 0.5841 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005767/0.1309, allocations: 0.724 MB / 0.5848 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/0.1316, allocations: 171.4 kB / 0.5849 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/0.1317, allocations: 47.92 kB / 0.585 GB, free: 2.051 MB / 0.4948 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.0004536/0.1322, allocations: 361.6 kB / 0.5853 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.1323, allocations: 139.1 kB / 0.5855 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.1339, allocations: 1.141 MB / 0.5866 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.1339, allocations: 4 kB / 0.5866 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1339, allocations: 7.938 kB / 0.5866 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1339, allocations: 3.984 kB / 0.5866 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.1375, allocations: 2.177 MB / 0.5887 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.1375, allocations: 8.031 kB / 0.5887 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.1377, allocations: 91.81 kB / 0.5888 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.1382, allocations: 212.6 kB / 0.589 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.1382, allocations: 16 kB / 0.589 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007218/0.1389, allocations: 0.7786 MB / 0.5898 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1389, allocations: 4.031 kB / 0.5898 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.1408, allocations: 1.209 MB / 0.591 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.1411, allocations: 238.9 kB / 0.5912 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-05/0.1412, allocations: 23.92 kB / 0.5912 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.1416, allocations: 67.92 kB / 0.5913 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.1417, allocations: 48.36 kB / 0.5913 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.1417, allocations: 23.98 kB / 0.5914 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009314/0.1426, allocations: 0.851 MB / 0.5922 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1426, allocations: 0 / 0.5922 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00113/0.1438, allocations: 478.7 kB / 0.5926 GB, free: 10.08 MB / 0.5105 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.0006538/0.1444, allocations: 486.2 kB / 0.5931 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.1462, allocations: 0.8258 MB / 0.5939 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1462, allocations: 0 / 0.5939 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.1469, allocations: 428.5 kB / 0.5943 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.1481, allocations: 497.3 kB / 0.5948 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.1508, allocations: 2.264 MB / 0.597 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.1512, allocations: 0.5783 MB / 0.5976 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005496/0.1518, allocations: 230 kB / 0.5978 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.1519, allocations: 100.5 kB / 0.5979 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.1519, allocations: 0 / 0.5979 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of Templates: time 0.0307/0.1826, allocations: 25.38 MB / 0.6227 GB, free: 11.84 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9623829387128353]