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.001334/0.001334, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001411/0.001411, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.618/1.618, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.002564/0.002564, allocations: 286.9 kB / 303.6 MB, free: 3.789 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.103/1.103, allocations: 180.9 MB / 0.5268 GB, free: 2.703 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.003119/0.003119, allocations: 99.84 kB / 0.7259 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6029, allocations: 94.15 MB / 0.8178 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07885/0.6817, allocations: 70.96 MB / 0.8871 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.7102, allocations: 18.99 MB / 0.9057 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00345/0.7137, allocations: 71.38 kB / 0.9058 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.7169, allocations: 0.8483 MB / 0.9066 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.7271, allocations: 3.01 MB / 0.9095 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005169/0.7322, allocations: 1.66 MB / 0.9111 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007735/0.74, allocations: 4.047 MB / 0.9151 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.7428, allocations: 1.183 MB / 0.9162 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005455/0.7483, allocations: 1.809 MB / 0.918 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.751, allocations: 1.229 MB / 0.9192 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005511/0.7516, allocations: 176 kB / 0.9194 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.7555, allocations: 1.447 MB / 0.9208 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.756, allocations: 398.5 kB / 0.9212 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.7576, allocations: 0.9255 MB / 0.9221 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006382/0.764, allocations: 3.111 MB / 0.9251 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.764, allocations: 0 / 0.9251 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.764, allocations: 0 / 0.9251 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.017e-05/0.764, allocations: 0 / 0.9251 GB, free: 3.027 MB / 0.6544 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.004395/0.7684, allocations: 2.087 MB / 0.9272 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.7685, allocations: 8.031 kB / 0.9272 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.7708, allocations: 459.4 kB / 0.9276 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.7741, allocations: 1.564 MB / 0.9291 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.7742, allocations: 82.03 kB / 0.9292 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.7744, allocations: 104 kB / 0.9293 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.7772, allocations: 1.313 MB / 0.9306 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.7773, allocations: 7.938 kB / 0.9306 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.7774, allocations: 44 kB / 0.9306 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.7774, allocations: 24 kB / 0.9307 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.7801, allocations: 1.097 MB / 0.9317 GB, free: 12.02 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.01111/0.7912, allocations: 7.514 MB / 0.9391 GB, free: 3.992 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.7944, allocations: 0.7743 MB / 0.9398 GB, free: 3.211 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.795, allocations: 273.9 kB / 0.9401 GB, free: 2.941 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.7966, allocations: 1.718 MB / 0.9418 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.7966, allocations: 42.98 kB / 0.9418 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.7966, allocations: 0 / 0.9418 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.004969/0.8016, allocations: 1.347 MB / 0.9431 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.8016, allocations: 59.84 kB / 0.9432 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.8042, allocations: 1.549 MB / 0.9447 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.8043, allocations: 37.7 kB / 0.9447 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.805, allocations: 0.6857 MB / 0.9454 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.8052, allocations: 174.5 kB / 0.9456 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.8055, allocations: 174.5 kB / 0.9457 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8057, allocations: 334 kB / 0.9461 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009535/0.8066, allocations: 365.8 kB / 0.9464 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.8079, allocations: 0.6585 MB / 0.947 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.8096, allocations: 0.8867 MB / 0.9479 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.8097, allocations: 3.938 kB / 0.9479 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003072/0.8127, allocations: 1.194 MB / 0.9491 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.8127, allocations: 8 kB / 0.9491 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.8128, allocations: 8 kB / 0.9491 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008782/0.8136, allocations: 220.7 kB / 0.9493 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.8144, allocations: 195.7 kB / 0.9495 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009015/0.8153, allocations: 0.7201 MB / 0.9502 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.817, allocations: 211.1 kB / 0.9504 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.8171, allocations: 47.97 kB / 0.9504 GB, free: 7.594 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.0006745/0.8178, allocations: 362 kB / 0.9508 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.8181, allocations: 155 kB / 0.9509 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.8206, allocations: 1.14 MB / 0.952 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.8206, allocations: 8.078 kB / 0.9521 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.8206, allocations: 3.938 kB / 0.9521 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8206, allocations: 4 kB / 0.9521 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.8261, allocations: 2.51 MB / 0.9545 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.8261, allocations: 4 kB / 0.9545 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.8265, allocations: 83.88 kB / 0.9546 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007688/0.8272, allocations: 216.6 kB / 0.9548 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.8273, allocations: 16 kB / 0.9548 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.8286, allocations: 0.7786 MB / 0.9556 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8286, allocations: 0 / 0.9556 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.832, allocations: 1.204 MB / 0.9568 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/0.8328, allocations: 363.7 kB / 0.9571 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.833, allocations: 12 kB / 0.9571 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.8338, allocations: 75.91 kB / 0.9572 GB, free: 496 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.834, allocations: 40.45 kB / 0.9572 GB, free: 456 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.8341, allocations: 27.98 kB / 0.9573 GB, free: 428 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001954/0.836, allocations: 1.086 MB / 0.9583 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.836, allocations: 0 / 0.9583 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001391/0.8374, allocations: 447.1 kB / 0.9587 GB, free: 14.89 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.001099/0.8385, allocations: 484.2 kB / 0.9592 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.8407, allocations: 0.8213 MB / 0.96 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8407, allocations: 96 / 0.96 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.8419, allocations: 423.5 kB / 0.9604 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/0.8451, allocations: 0.7345 MB / 0.9611 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.8496, allocations: 2.336 MB / 0.9634 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.8505, allocations: 1.157 MB / 0.9645 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.8509, allocations: 123.4 kB / 0.9647 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of SimCode: time 1.212e-06/0.8509, allocations: 0 / 0.9647 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of Templates: time 0.05032/0.9012, allocations: 34.36 MB / 0.9982 GB, free: 6.668 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: 13.80558075600129] Failed to read output from testmodel.py, exit status != 0: 0.910361379996175 0.923026269 0.15590363499999996 Calling exit ...