Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00188/0.00188, allocations: 109 kB / 20.48 MB, free: 1.473 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.002279/0.002279, allocations: 207.5 kB / 23.79 MB, free: 4.688 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.567/1.567, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9593/0.9593, allocations: 150 MB / 464 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002168/0.002168, allocations: 62.19 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1818, allocations: 89.17 MB / 0.7291 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4167/0.5985, allocations: 72.03 MB / 0.7994 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.6247, allocations: 19.11 MB / 0.8181 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.6277, allocations: 99.41 kB / 0.8182 GB, free: 252 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.6305, allocations: 0.8428 MB / 0.819 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009096/0.6396, allocations: 3.057 MB / 0.822 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005103/0.6447, allocations: 1.713 MB / 0.8237 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00706/0.6517, allocations: 4.081 MB / 0.8277 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.6544, allocations: 1.156 MB / 0.8288 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006232/0.6606, allocations: 1.989 MB / 0.8307 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/0.6644, allocations: 1.209 MB / 0.8319 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006051/0.665, allocations: 178.9 kB / 0.8321 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.6698, allocations: 1.49 MB / 0.8335 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008254/0.6707, allocations: 398.5 kB / 0.8339 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002405/0.6731, allocations: 0.9249 MB / 0.8348 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006788/0.6799, allocations: 3.157 MB / 0.8379 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6799, allocations: 0 / 0.8379 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6799, allocations: 0 / 0.8379 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.28e-05/0.68, allocations: 0 / 0.8379 GB, free: 3.59 MB / 0.6075 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.005368/0.6853, allocations: 2.013 MB / 0.8399 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6854, allocations: 14.59 kB / 0.8399 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.707e-05/0.6854, allocations: 26.28 kB / 0.8399 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.6857, allocations: 154.4 kB / 0.8401 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.6882, allocations: 463.4 kB / 0.8405 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.6918, allocations: 1.511 MB / 0.842 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/0.6918, allocations: 78.84 kB / 0.842 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.6921, allocations: 107.5 kB / 0.8421 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.6951, allocations: 1.322 MB / 0.8434 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.6951, allocations: 2.5 kB / 0.8434 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.6952, allocations: 47.78 kB / 0.8435 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.6952, allocations: 28.62 kB / 0.8435 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.6981, allocations: 1.096 MB / 0.8446 GB, free: 14.95 MB / 0.6231 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.0111/0.7092, allocations: 7.374 MB / 0.8518 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.7125, allocations: 0.7767 MB / 0.8525 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.7132, allocations: 268.4 kB / 0.8528 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.7138, allocations: 162.6 kB / 0.853 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.7138, allocations: 37.62 kB / 0.853 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 3.347e-06/0.7138, allocations: 3.938 kB / 0.853 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.005061/0.7189, allocations: 1.26 MB / 0.8542 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.7189, allocations: 59.84 kB / 0.8543 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.7215, allocations: 1.554 MB / 0.8558 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.7217, allocations: 37.7 kB / 0.8558 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/0.7223, allocations: 0.6858 MB / 0.8565 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.7225, allocations: 182.4 kB / 0.8567 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.7228, allocations: 178.5 kB / 0.8568 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.723, allocations: 337.9 kB / 0.8572 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.724, allocations: 361.8 kB / 0.8575 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.7254, allocations: 0.6623 MB / 0.8582 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.7273, allocations: 0.8858 MB / 0.859 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.7273, allocations: 0 / 0.859 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003391/0.7307, allocations: 1.193 MB / 0.8602 GB, free: 444 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.7308, allocations: 15.97 kB / 0.8602 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.7308, allocations: 8 kB / 0.8602 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009666/0.7317, allocations: 216.6 kB / 0.8604 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.7326, allocations: 195.7 kB / 0.8606 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009938/0.7335, allocations: 0.724 MB / 0.8613 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7354, allocations: 219 kB / 0.8615 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7355, allocations: 43.98 kB / 0.8616 GB, free: 15 MB / 0.6387 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.0006986/0.7362, allocations: 356.4 kB / 0.8619 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.7366, allocations: 159 kB / 0.8621 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.7392, allocations: 1.141 MB / 0.8632 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.7392, allocations: 11.98 kB / 0.8632 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7392, allocations: 3.938 kB / 0.8632 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.7393, allocations: 7.984 kB / 0.8632 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/0.7452, allocations: 2.507 MB / 0.8656 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.7452, allocations: 4 kB / 0.8656 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.7456, allocations: 83.88 kB / 0.8657 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008406/0.7464, allocations: 216.8 kB / 0.8659 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.7465, allocations: 12 kB / 0.8659 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.7479, allocations: 0.7825 MB / 0.8667 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7479, allocations: 4.125 kB / 0.8667 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/0.7517, allocations: 1.226 MB / 0.8679 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007839/0.7524, allocations: 282.6 kB / 0.8682 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.7527, allocations: 16 kB / 0.8682 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009307/0.7536, allocations: 71.91 kB / 0.8683 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.7537, allocations: 40.42 kB / 0.8683 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.7537, allocations: 23.98 kB / 0.8683 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001881/0.7556, allocations: 1.09 MB / 0.8694 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7556, allocations: 4 kB / 0.8694 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001416/0.757, allocations: 451.1 kB / 0.8698 GB, free: 6.398 MB / 0.6387 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.004806/0.7618, allocations: 2.128 MB / 0.8719 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002456/0.7643, allocations: 0.8247 MB / 0.8727 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.7643, allocations: 8.312 kB / 0.8727 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.7657, allocations: 419 kB / 0.8731 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/0.7694, allocations: 0.7345 MB / 0.8738 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/0.7909, allocations: 10.55 MB / 0.8841 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/0.7918, allocations: 1.164 MB / 0.8853 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00132/0.7931, allocations: 276.1 kB / 0.8855 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/0.7939, allocations: 0.5461 MB / 0.8861 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of SimCode: time 1.113e-06/0.7939, allocations: 0 / 0.8861 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08727/0.8812, allocations: 44.58 MB / 0.9296 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.17, allocations: 6.25 kB / 0.9296 GB, free: 9.184 MB / 0.7012 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.257627904007677] Failed to read output from testmodel.py, exit status != 0: 17.367298180004582 17.383945716 16.700546987 Calling exit ...