Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001311/0.001311, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001327/0.001327, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.445/1.445, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.002451/0.002451, allocations: 280.8 kB / 303.6 MB, free: 3.73 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.068/1.068, allocations: 180.9 MB / 0.5268 GB, free: 2.738 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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 99.83 kB / 0.7259 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5534, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1477/0.7011, allocations: 133.2 MB / 0.9479 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03674/0.7378, allocations: 23.27 MB / 0.9706 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006249/0.7441, allocations: 123.2 kB / 0.9708 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005503/0.7496, allocations: 1.553 MB / 0.9723 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/0.7634, allocations: 4.323 MB / 0.9765 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006519/0.7699, allocations: 2.18 MB / 0.9786 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01223/0.7821, allocations: 6.536 MB / 0.985 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004319/0.7864, allocations: 1.91 MB / 0.9869 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008213/0.7947, allocations: 2.803 MB / 0.9896 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.7992, allocations: 1.98 MB / 0.9916 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009639/0.8002, allocations: 248 kB / 0.9918 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005655/0.8058, allocations: 1.981 MB / 0.9937 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.807, allocations: 0.6185 MB / 0.9943 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002867/0.8099, allocations: 1.462 MB / 0.9958 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009789/0.8197, allocations: 4.379 MB / 1 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.8197, allocations: 8 kB / 1 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8197, allocations: 0 / 1 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001229/0.8198, allocations: 0 / 1 GB, free: 6.082 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007908/0.8277, allocations: 3.278 MB / 1.003 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8278, allocations: 12.03 kB / 1.003 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.8325, allocations: 0.8496 MB / 1.004 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005889/0.8384, allocations: 2.341 MB / 1.006 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.8385, allocations: 123 kB / 1.006 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.8389, allocations: 160 kB / 1.007 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/0.8433, allocations: 1.93 MB / 1.009 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.8433, allocations: 3.938 kB / 1.009 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.8435, allocations: 60 kB / 1.009 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.8435, allocations: 40 kB / 1.009 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004826/0.8483, allocations: 1.803 MB / 1.01 GB, free: 11.26 MB / 0.7481 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.01547/0.8638, allocations: 9.007 MB / 1.019 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/0.8681, allocations: 1.153 MB / 1.02 GB, free: 500 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.8692, allocations: 437.4 kB / 1.021 GB, free: 56 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.8707, allocations: 1.719 MB / 1.022 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.201e-05/0.8707, allocations: 46.56 kB / 1.022 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/0.8707, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.008908/0.8796, allocations: 2.35 MB / 1.025 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.8797, allocations: 85.11 kB / 1.025 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.8845, allocations: 2.524 MB / 1.027 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/0.8847, allocations: 45.7 kB / 1.027 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.8858, allocations: 1.054 MB / 1.028 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.8862, allocations: 285.6 kB / 1.029 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/0.8867, allocations: 254.7 kB / 1.029 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.8868, allocations: 349.9 kB / 1.029 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.8885, allocations: 0.5686 MB / 1.03 GB, free: 6.281 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.8906, allocations: 0.9543 MB / 1.031 GB, free: 5.172 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.8937, allocations: 1.244 MB / 1.032 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.8937, allocations: 0 / 1.032 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006713/0.9004, allocations: 2.037 MB / 1.034 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.9004, allocations: 15.94 kB / 1.034 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.9004, allocations: 8 kB / 1.034 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.9024, allocations: 492.4 kB / 1.034 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.9037, allocations: 287.5 kB / 1.035 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.906, allocations: 1.511 MB / 1.036 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/0.909, allocations: 378.5 kB / 1.037 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.9092, allocations: 59.97 kB / 1.037 GB, free: 14.99 MB / 0.7794 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.9102, allocations: 464.5 kB / 1.037 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/0.9109, allocations: 254.4 kB / 1.037 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/0.9147, allocations: 1.497 MB / 1.039 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.9147, allocations: 11.98 kB / 1.039 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.9148, allocations: 4 kB / 1.039 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.9148, allocations: 3.984 kB / 1.039 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008416/0.9232, allocations: 3.607 MB / 1.042 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.9232, allocations: 4 kB / 1.042 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.9238, allocations: 128.2 kB / 1.042 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/0.9256, allocations: 0.4909 MB / 1.043 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.719e-05/0.9257, allocations: 27.97 kB / 1.043 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.9283, allocations: 1.581 MB / 1.044 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9283, allocations: 4 kB / 1.044 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006196/0.9345, allocations: 1.941 MB / 1.046 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.9361, allocations: 0.5028 MB / 1.047 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.9365, allocations: 23.94 kB / 1.047 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/0.9382, allocations: 135.8 kB / 1.047 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.9383, allocations: 55.86 kB / 1.047 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.513e-05/0.9384, allocations: 39.97 kB / 1.047 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003312/0.9417, allocations: 1.781 MB / 1.049 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/0.9417, allocations: 0 / 1.049 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002473/0.9441, allocations: 0.6979 MB / 1.049 GB, free: 1.477 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.9455, allocations: 0.6179 MB / 1.05 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004039/0.9495, allocations: 1.303 MB / 1.051 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.9495, allocations: 0 / 1.051 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.9518, allocations: 0.6429 MB / 1.052 GB, free: 14.92 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006371/0.9582, allocations: 1.322 MB / 1.053 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007247/0.9654, allocations: 3.665 MB / 1.057 GB, free: 9.871 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.9666, allocations: 1.482 MB / 1.058 GB, free: 8.355 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007433/0.9673, allocations: 187.4 kB / 1.058 GB, free: 8.172 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/0.9673, allocations: 0 / 1.058 GB, free: 8.172 MB / 0.795 GB Notification: Performance of Templates: time 0.08985/1.057, allocations: 62.97 MB / 1.12 GB, free: 9.574 MB / 0.8575 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.39303114399081] Failed to read output from testmodel.py, exit status != 0: 1.0666162359993905 1.080552266 0.257355061 Calling exit ...