Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001398/0.001398, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001477/0.001477, allocations: 215.6 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8387/0.8387, allocations: 134 MB / 447.2 MB, free: 9.918 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 74.86 kB / 0.6197 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1765, allocations: 85.9 MB / 0.7036 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4123/0.5888, allocations: 65.02 MB / 0.7671 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.6127, allocations: 17.55 MB / 0.7842 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/0.6163, allocations: 94.38 kB / 0.7843 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.6192, allocations: 0.8252 MB / 0.7851 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008718/0.6279, allocations: 3.033 MB / 0.7881 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.6326, allocations: 1.685 MB / 0.7897 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006247/0.6388, allocations: 4.066 MB / 0.7937 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.641, allocations: 1.146 MB / 0.7948 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004516/0.6455, allocations: 1.869 MB / 0.7966 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.6479, allocations: 1.16 MB / 0.7978 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.6483, allocations: 175.3 kB / 0.7979 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.6521, allocations: 1.16 MB / 0.7991 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.6526, allocations: 396.3 kB / 0.7994 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.6539, allocations: 0.7175 MB / 0.8001 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006013/0.6599, allocations: 3.114 MB / 0.8032 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.66, allocations: 0 / 0.8032 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.66, allocations: 0 / 0.8032 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.448e-05/0.66, allocations: 4 kB / 0.8032 GB, free: 13.7 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.004321/0.6643, allocations: 2.008 MB / 0.8051 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6644, allocations: 9.062 kB / 0.8052 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.6666, allocations: 458.2 kB / 0.8056 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.6699, allocations: 1.51 MB / 0.8071 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/0.67, allocations: 83.31 kB / 0.8071 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.6702, allocations: 102.5 kB / 0.8072 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.6729, allocations: 1.415 MB / 0.8086 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.6729, allocations: 11.59 kB / 0.8086 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.673, allocations: 41.22 kB / 0.8087 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.673, allocations: 26.94 kB / 0.8087 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.6756, allocations: 1.097 MB / 0.8098 GB, free: 9.098 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.008896/0.6845, allocations: 5.415 MB / 0.8151 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.6876, allocations: 0.7642 MB / 0.8158 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.6882, allocations: 267.9 kB / 0.8161 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.6887, allocations: 159.4 kB / 0.8162 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.6888, allocations: 41.38 kB / 0.8163 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.716e-06/0.6888, allocations: 0 / 0.8163 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004677/0.6935, allocations: 1.235 MB / 0.8175 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.6935, allocations: 57.66 kB / 0.8175 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.6955, allocations: 1.216 MB / 0.8187 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.6956, allocations: 37.7 kB / 0.8187 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006845/0.6963, allocations: 0.7149 MB / 0.8194 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.6965, allocations: 182.5 kB / 0.8196 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.6968, allocations: 174.5 kB / 0.8198 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.697, allocations: 337.9 kB / 0.8201 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009986/0.698, allocations: 361.8 kB / 0.8204 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.6995, allocations: 0.9884 MB / 0.8214 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.7014, allocations: 0.8858 MB / 0.8223 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.7014, allocations: 11.88 kB / 0.8223 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003102/0.7045, allocations: 1.162 MB / 0.8234 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7045, allocations: 8 kB / 0.8234 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.7046, allocations: 11.94 kB / 0.8234 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009448/0.7055, allocations: 220.6 kB / 0.8237 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.7063, allocations: 195.7 kB / 0.8238 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009746/0.7073, allocations: 0.7201 MB / 0.8245 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.7087, allocations: 167.4 kB / 0.8247 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.7088, allocations: 47.98 kB / 0.8247 GB, free: 11.91 MB / 0.5919 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.0006864/0.7095, allocations: 357.6 kB / 0.8251 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.7098, allocations: 123.2 kB / 0.8252 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.7124, allocations: 1.139 MB / 0.8263 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.7124, allocations: 11.94 kB / 0.8263 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7124, allocations: 0 / 0.8263 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7124, allocations: 3.984 kB / 0.8263 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/0.7179, allocations: 2.193 MB / 0.8285 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.7179, allocations: 4 kB / 0.8285 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.7183, allocations: 88.06 kB / 0.8286 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007893/0.7191, allocations: 208.6 kB / 0.8288 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.7191, allocations: 15.98 kB / 0.8288 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.7206, allocations: 0.7709 MB / 0.8295 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.7206, allocations: 7.969 kB / 0.8295 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.7242, allocations: 1.194 MB / 0.8307 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.7249, allocations: 238.9 kB / 0.8309 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.7251, allocations: 15.94 kB / 0.8309 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/0.7258, allocations: 67.92 kB / 0.831 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7259, allocations: 44.42 kB / 0.8311 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.726, allocations: 23.98 kB / 0.8311 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001554/0.7276, allocations: 0.851 MB / 0.8319 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7276, allocations: 0 / 0.8319 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001516/0.7291, allocations: 478.7 kB / 0.8324 GB, free: 3.988 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.0008308/0.7299, allocations: 459.5 kB / 0.8328 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002307/0.7322, allocations: 0.8247 MB / 0.8336 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7322, allocations: 0 / 0.8336 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.7335, allocations: 427.4 kB / 0.834 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.7356, allocations: 475 kB / 0.8345 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.7399, allocations: 2.28 MB / 0.8367 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.7406, allocations: 0.5757 MB / 0.8373 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.7409, allocations: 115.3 kB / 0.8374 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of SimCode: time 1.212e-06/0.7409, allocations: 4 kB / 0.8374 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of Templates: time 0.04475/0.7857, allocations: 31.44 MB / 0.8681 GB, free: 15.49 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.228826032951474] Failed to read output from testmodel.py, exit status != 0: 0.794310397002846 0.810200891 0.146685851 Calling exit ...