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: 80.48 kB / 19.93 MB, free: 4.633 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.0008354/0.0008354, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8462/0.8462, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.001274/0.001274, allocations: 230.5 kB / 260.2 MB, free: 13 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.6848/0.6848, allocations: 138.4 MB / 455.1 MB, free: 1.645 MB / 362.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 9.02e-07/9.02e-07, allocations: 0 / 0.6475 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.291e-05, allocations: 3.828 kB / 0.6475 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.03721/0.03723, allocations: 64.48 MB / 0.7105 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.05276, allocations: 17.53 MB / 0.7276 GB, free: 14.94 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.05461, allocations: 95.19 kB / 0.7277 GB, free: 14.84 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.05611, allocations: 0.8343 MB / 0.7285 GB, free: 14 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005123/0.06124, allocations: 3.123 MB / 0.7316 GB, free: 10.87 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.06405, allocations: 1.778 MB / 0.7333 GB, free: 9.098 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.06755, allocations: 4.084 MB / 0.7373 GB, free: 4.996 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.06878, allocations: 1.141 MB / 0.7384 GB, free: 3.824 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.07146, allocations: 2.411 MB / 0.7407 GB, free: 1.41 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009564/0.07242, allocations: 1.04 MB / 0.7418 GB, free: 376 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.07256, allocations: 180 kB / 0.7419 GB, free: 196 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.0742, allocations: 1.161 MB / 0.7431 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.07446, allocations: 414.3 kB / 0.7435 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005801/0.07504, allocations: 0.604 MB / 0.7441 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.07753, allocations: 3.132 MB / 0.7471 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.07753, allocations: 0 / 0.7471 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.933e-06/0.07753, allocations: 0 / 0.7471 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.07755, allocations: 0 / 0.7471 GB, free: 10.88 MB / 0.5886 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.001919/0.07947, allocations: 1.999 MB / 0.7491 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.0795, allocations: 8.75 kB / 0.7491 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.08056, allocations: 455.4 kB / 0.7495 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.08225, allocations: 1.511 MB / 0.751 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.08229, allocations: 82.03 kB / 0.7511 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.08249, allocations: 104 kB / 0.7512 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.08399, allocations: 1.413 MB / 0.7525 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.08401, allocations: 7.938 kB / 0.7525 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.08408, allocations: 43.98 kB / 0.7526 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.08409, allocations: 28 kB / 0.7526 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.08589, allocations: 1.097 MB / 0.7537 GB, free: 3.914 MB / 0.5886 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.005186/0.09108, allocations: 5.4 MB / 0.759 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.09271, allocations: 0.768 MB / 0.7597 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.09307, allocations: 262.2 kB / 0.76 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.09348, allocations: 168.4 kB / 0.7601 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.09351, allocations: 39.06 kB / 0.7602 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.617e-06/0.09351, allocations: 0 / 0.7602 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002599/0.09611, allocations: 1.235 MB / 0.7614 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.09614, allocations: 55.91 kB / 0.7614 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.0974, allocations: 1.224 MB / 0.7626 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.09745, allocations: 37.7 kB / 0.7626 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.09785, allocations: 0.711 MB / 0.7633 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.09796, allocations: 174.5 kB / 0.7635 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.09816, allocations: 170.5 kB / 0.7637 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.09826, allocations: 330 kB / 0.764 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.09882, allocations: 377.8 kB / 0.7643 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008058/0.09962, allocations: 0.9847 MB / 0.7653 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1007, allocations: 0.8861 MB / 0.7662 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1007, allocations: 4 kB / 0.7662 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002046/0.1028, allocations: 1.169 MB / 0.7673 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1028, allocations: 8 kB / 0.7673 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1028, allocations: 12.03 kB / 0.7673 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/0.1034, allocations: 220.5 kB / 0.7675 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.1038, allocations: 195.7 kB / 0.7677 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005603/0.1044, allocations: 0.7123 MB / 0.7684 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.105, allocations: 171.4 kB / 0.7686 GB, free: 4.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.1051, allocations: 51.86 kB / 0.7686 GB, free: 4.02 MB / 0.6042 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.0004524/0.1055, allocations: 357.6 kB / 0.769 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1057, allocations: 127.2 kB / 0.7691 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.1072, allocations: 1.13 MB / 0.7702 GB, free: 2.398 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.1072, allocations: 8 kB / 0.7702 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1073, allocations: 7.938 kB / 0.7702 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.1073, allocations: 3.984 kB / 0.7702 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.1102, allocations: 2.173 MB / 0.7723 GB, free: 148 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1102, allocations: 0 / 0.7723 GB, free: 148 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.1104, allocations: 88.08 kB / 0.7724 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.1109, allocations: 220.6 kB / 0.7726 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.1109, allocations: 19.98 kB / 0.7727 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007222/0.1116, allocations: 0.7709 MB / 0.7734 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1116, allocations: 0 / 0.7734 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.1137, allocations: 1.186 MB / 0.7746 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.114, allocations: 246.8 kB / 0.7748 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.1141, allocations: 12 kB / 0.7748 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.1145, allocations: 67.92 kB / 0.7749 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.1146, allocations: 52.3 kB / 0.7749 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.1146, allocations: 23.98 kB / 0.775 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009269/0.1155, allocations: 0.8471 MB / 0.7758 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1155, allocations: 0 / 0.7758 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001059/0.1166, allocations: 478.7 kB / 0.7762 GB, free: 12.08 MB / 0.6198 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.0006408/0.1172, allocations: 482.4 kB / 0.7767 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.1185, allocations: 0.8286 MB / 0.7775 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1185, allocations: 0 / 0.7775 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/0.1192, allocations: 423.4 kB / 0.7779 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.1203, allocations: 476.8 kB / 0.7784 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.1232, allocations: 2.271 MB / 0.7806 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.1238, allocations: 0.5757 MB / 0.7811 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.124, allocations: 108.5 kB / 0.7813 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of SimCode: time 1.343e-06/0.124, allocations: 0 / 0.7813 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of Templates: time 0.02982/0.1538, allocations: 31.59 MB / 0.8121 GB, free: 7.488 MB / 0.6511 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.464176584966481] Failed to read output from testmodel.py, exit status != 0: 0.15893999300897121 0.16764047 0.08834173000000001 Calling exit ...