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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 286.8 kB / 304.8 MB, free: 3.449 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 180.9 MB / 0.5282 GB, free: 2.328 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002856/0.002856, allocations: 99.84 kB / 0.7283 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5034, allocations: 94.15 MB / 0.8203 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07849/0.5818, allocations: 71.64 MB / 0.8902 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03098/0.6128, allocations: 19.1 MB / 0.9089 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.6161, allocations: 71.56 kB / 0.9089 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.6191, allocations: 0.8502 MB / 0.9098 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009295/0.6284, allocations: 3.004 MB / 0.9127 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.6339, allocations: 1.672 MB / 0.9143 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007002/0.6409, allocations: 4.053 MB / 0.9183 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.6436, allocations: 1.164 MB / 0.9194 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/0.6487, allocations: 1.821 MB / 0.9212 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.6514, allocations: 1.221 MB / 0.9224 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005616/0.652, allocations: 176 kB / 0.9226 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.656, allocations: 1.451 MB / 0.924 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008509/0.6569, allocations: 398.5 kB / 0.9244 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002373/0.6593, allocations: 0.9216 MB / 0.9253 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006708/0.666, allocations: 3.11 MB / 0.9283 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.666, allocations: 0 / 0.9283 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.144e-06/0.666, allocations: 4 kB / 0.9283 GB, free: 14.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.988e-05/0.6661, allocations: 0 / 0.9283 GB, free: 14.82 MB / 0.67 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.005287/0.6714, allocations: 2.087 MB / 0.9303 GB, free: 12.67 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6714, allocations: 8.031 kB / 0.9304 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.6738, allocations: 459.4 kB / 0.9308 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.6767, allocations: 1.56 MB / 0.9323 GB, free: 10.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.6768, allocations: 82.03 kB / 0.9324 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.677, allocations: 104 kB / 0.9325 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.6797, allocations: 1.313 MB / 0.9338 GB, free: 8.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.6797, allocations: 7.938 kB / 0.9338 GB, free: 8.984 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.6798, allocations: 44 kB / 0.9338 GB, free: 8.941 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.6799, allocations: 24 kB / 0.9338 GB, free: 8.918 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.6826, allocations: 1.097 MB / 0.9349 GB, free: 7.824 MB / 0.67 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.009635/0.6922, allocations: 7.518 MB / 0.9423 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.6955, allocations: 0.7782 MB / 0.943 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.6961, allocations: 262 kB / 0.9433 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.6976, allocations: 1.722 MB / 0.945 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.6976, allocations: 39 kB / 0.945 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 4.017e-06/0.6976, allocations: 0 / 0.945 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.004951/0.7026, allocations: 1.347 MB / 0.9463 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.7026, allocations: 55.84 kB / 0.9464 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.7052, allocations: 1.549 MB / 0.9479 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.7053, allocations: 37.7 kB / 0.9479 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006318/0.7059, allocations: 0.6818 MB / 0.9486 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.7061, allocations: 186.5 kB / 0.9487 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.7064, allocations: 166.5 kB / 0.9489 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7066, allocations: 337.9 kB / 0.9492 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/0.7075, allocations: 361.8 kB / 0.9496 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.7088, allocations: 0.6546 MB / 0.9502 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.7107, allocations: 0.8906 MB / 0.9511 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7107, allocations: 3.938 kB / 0.9511 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003155/0.7138, allocations: 1.206 MB / 0.9523 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.7139, allocations: 8 kB / 0.9523 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.7139, allocations: 8 kB / 0.9523 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009644/0.7148, allocations: 220.6 kB / 0.9525 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.7156, allocations: 191.8 kB / 0.9527 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009431/0.7166, allocations: 0.7201 MB / 0.9534 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.7182, allocations: 219 kB / 0.9536 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7183, allocations: 47.92 kB / 0.9536 GB, free: 3.391 MB / 0.6856 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.0006779/0.719, allocations: 358 kB / 0.954 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.7193, allocations: 159 kB / 0.9541 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.7217, allocations: 1.132 MB / 0.9552 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.7218, allocations: 8 kB / 0.9552 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7218, allocations: 0 / 0.9552 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7218, allocations: 3.984 kB / 0.9552 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/0.7272, allocations: 2.503 MB / 0.9577 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.7272, allocations: 4 kB / 0.9577 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.7275, allocations: 83.88 kB / 0.9578 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/0.7284, allocations: 216.8 kB / 0.958 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.7285, allocations: 19.98 kB / 0.958 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.7298, allocations: 0.7708 MB / 0.9587 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/0.7298, allocations: 8.016 kB / 0.9588 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.7334, allocations: 1.2 MB / 0.9599 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/0.7341, allocations: 363.7 kB / 0.9603 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.7343, allocations: 16 kB / 0.9603 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.7352, allocations: 67.92 kB / 0.9604 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.7353, allocations: 48.42 kB / 0.9604 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.7354, allocations: 23.98 kB / 0.9604 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001962/0.7373, allocations: 1.086 MB / 0.9615 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7373, allocations: 0 / 0.9615 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001543/0.7389, allocations: 451.1 kB / 0.9619 GB, free: 10.71 MB / 0.7012 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.001113/0.74, allocations: 486 kB / 0.9624 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.7422, allocations: 0.8135 MB / 0.9632 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.7422, allocations: 8.312 kB / 0.9632 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.7436, allocations: 419.2 kB / 0.9636 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/0.7468, allocations: 0.7368 MB / 0.9643 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.7513, allocations: 2.311 MB / 0.9666 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/0.7523, allocations: 1.168 MB / 0.9677 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001022/0.7534, allocations: 275.2 kB / 0.968 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.7536, allocations: 115.3 kB / 0.9681 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of SimCode: time 1.673e-06/0.7536, allocations: 0 / 0.9681 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of Templates: time 0.05946/0.8131, allocations: 32.27 MB / 0.9996 GB, free: 4.484 MB / 0.7325 GB " [Timeout remaining time 659] 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.338934819214046]