Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000902/0.000902, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009639/0.0009639, allocations: 169 kB / 23.02 MB, free: 1.551 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.8862/0.8862, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001648/0.001648, allocations: 237.6 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.846/0.846, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5551 GB, free: 144 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.359e-05, allocations: 5.547 kB / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01649/0.01652, allocations: 18.54 MB / 0.5732 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00935/0.02587, allocations: 7.066 MB / 0.5801 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.02699, allocations: 95.19 kB / 0.5802 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007845/0.02778, allocations: 432.5 kB / 0.5806 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.03018, allocations: 1.748 MB / 0.5823 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.03214, allocations: 1.554 MB / 0.5838 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.03566, allocations: 3.994 MB / 0.5877 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.03682, allocations: 1.185 MB / 0.5889 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.03865, allocations: 1.857 MB / 0.5907 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.03989, allocations: 1.049 MB / 0.5917 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.04005, allocations: 176 kB / 0.5919 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.04088, allocations: 0.6669 MB / 0.5925 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.04113, allocations: 414.4 kB / 0.5929 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.04159, allocations: 0.604 MB / 0.5935 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.0431, allocations: 1.674 MB / 0.5951 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.04311, allocations: 0 / 0.5951 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/0.04311, allocations: 0 / 0.5951 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.04312, allocations: 0 / 0.5951 GB, free: 6.945 MB / 0.5105 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.002003/0.04512, allocations: 2.042 MB / 0.5971 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.04516, allocations: 13.94 kB / 0.5971 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009963/0.04616, allocations: 475.5 kB / 0.5976 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.04781, allocations: 1.574 MB / 0.5991 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.04786, allocations: 82.03 kB / 0.5992 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.04797, allocations: 108 kB / 0.5993 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.0493, allocations: 1.097 MB / 0.6004 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.04932, allocations: 7.938 kB / 0.6004 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.04939, allocations: 48 kB / 0.6004 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.04941, allocations: 28 kB / 0.6005 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007715/0.05018, allocations: 467.3 kB / 0.6009 GB, free: 0.7578 MB / 0.5105 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.004659/0.05484, allocations: 6.279 MB / 0.607 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.05595, allocations: 473 kB / 0.6075 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.05613, allocations: 113.1 kB / 0.6076 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.05627, allocations: 68.45 kB / 0.6077 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.0563, allocations: 41.89 kB / 0.6077 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/0.0563, allocations: 0 / 0.6077 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.001583/0.05789, allocations: 0.7416 MB / 0.6084 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.05791, allocations: 55.91 kB / 0.6085 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009655/0.05888, allocations: 1.033 MB / 0.6095 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.05892, allocations: 37.7 kB / 0.6095 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.0593, allocations: 0.7608 MB / 0.6103 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.0594, allocations: 178.5 kB / 0.6104 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.05959, allocations: 176.2 kB / 0.6106 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.05972, allocations: 0.5004 MB / 0.6111 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.05993, allocations: 113.9 kB / 0.6112 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.06068, allocations: 0.8389 MB / 0.612 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.06124, allocations: 0.6076 MB / 0.6126 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.06125, allocations: 4 kB / 0.6126 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009462/0.06219, allocations: 0.6958 MB / 0.6133 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.06221, allocations: 8.125 kB / 0.6133 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.06222, allocations: 16 kB / 0.6133 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.06266, allocations: 171.4 kB / 0.6135 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.06302, allocations: 175.7 kB / 0.6137 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004333/0.06345, allocations: 0.878 MB / 0.6145 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.06393, allocations: 131.4 kB / 0.6146 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.06399, allocations: 51.97 kB / 0.6147 GB, free: 1.918 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0002126/0.0642, allocations: 200.3 kB / 0.6149 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.06434, allocations: 143.2 kB / 0.615 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009618/0.0653, allocations: 0.7573 MB / 0.6158 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.06531, allocations: 15.88 kB / 0.6158 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.06531, allocations: 0 / 0.6158 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.06532, allocations: 3.984 kB / 0.6158 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.06745, allocations: 1.725 MB / 0.6175 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.06745, allocations: 4 kB / 0.6175 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.06763, allocations: 83.83 kB / 0.6176 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/0.06796, allocations: 155.6 kB / 0.6177 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.06799, allocations: 19.98 kB / 0.6177 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005173/0.06851, allocations: 0.9054 MB / 0.6186 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.06851, allocations: 3.938 kB / 0.6186 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.06983, allocations: 0.8396 MB / 0.6194 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.07011, allocations: 246.8 kB / 0.6197 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.07018, allocations: 12 kB / 0.6197 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.07049, allocations: 39.97 kB / 0.6197 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.07057, allocations: 48.34 kB / 0.6198 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.0706, allocations: 27.98 kB / 0.6198 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006102/0.07121, allocations: 0.64 MB / 0.6204 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/0.07121, allocations: 0 / 0.6204 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000722/0.07194, allocations: 395 kB / 0.6208 GB, free: 11.5 MB / 0.5417 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.0003881/0.07232, allocations: 234.7 kB / 0.621 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.07312, allocations: 438.5 kB / 0.6214 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.07312, allocations: 0 / 0.6214 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.07354, allocations: 258.6 kB / 0.6217 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.07468, allocations: 499.4 kB / 0.6222 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.07732, allocations: 2.038 MB / 0.6241 GB, free: 8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.07749, allocations: 241.3 kB / 0.6244 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004499/0.07794, allocations: 216.8 kB / 0.6246 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.07811, allocations: 100.5 kB / 0.6247 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of SimCode: time 7.61e-07/0.07811, allocations: 0 / 0.6247 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of Templates: time 0.02377/0.1019, allocations: 21.48 MB / 0.6456 GB, free: 2.434 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.413629162125289]