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.001404/0.001404, allocations: 118 kB / 17.84 MB, free: 5.234 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.001438/0.001438, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.578/1.578, allocations: 230.6 MB / 254.2 MB, free: 15.08 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 1.021/1.021, allocations: 150 MB / 460.2 MB, free: 5.203 MB / 350.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.00198/0.00198, allocations: 72.53 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 89.14 MB / 0.7238 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07809/0.2607, allocations: 71.33 MB / 0.7935 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02824/0.2889, allocations: 18.99 MB / 0.8121 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.2917, allocations: 99.12 kB / 0.8121 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.2946, allocations: 0.854 MB / 0.813 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.3059, allocations: 2.99 MB / 0.8159 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.3113, allocations: 1.659 MB / 0.8175 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006643/0.318, allocations: 4.04 MB / 0.8215 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.3203, allocations: 1.184 MB / 0.8226 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.3249, allocations: 1.952 MB / 0.8245 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.3272, allocations: 1.21 MB / 0.8257 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004573/0.3277, allocations: 172 kB / 0.8259 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.3311, allocations: 1.459 MB / 0.8273 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/0.3317, allocations: 406.4 kB / 0.8277 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.3333, allocations: 0.9215 MB / 0.8286 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006386/0.3397, allocations: 3.154 MB / 0.8317 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3397, allocations: 4 kB / 0.8317 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.135e-06/0.3397, allocations: 0 / 0.8317 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001014/0.3398, allocations: 0 / 0.8317 GB, free: 5.184 MB / 0.6387 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.007181/0.347, allocations: 2.091 MB / 0.8337 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/0.3471, allocations: 12.03 kB / 0.8337 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.665e-05/0.3471, allocations: 30.16 kB / 0.8337 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003203/0.3475, allocations: 160.3 kB / 0.8339 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.3501, allocations: 458.4 kB / 0.8343 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.3541, allocations: 1.568 MB / 0.8359 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.3542, allocations: 82.03 kB / 0.8359 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.3544, allocations: 104 kB / 0.836 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.3573, allocations: 1.309 MB / 0.8373 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3573, allocations: 11.88 kB / 0.8373 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.3575, allocations: 47.94 kB / 0.8374 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.3575, allocations: 24 kB / 0.8374 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.3603, allocations: 1.101 MB / 0.8385 GB, free: 13.96 MB / 0.6544 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.01145/0.3717, allocations: 7.514 MB / 0.8458 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.3751, allocations: 0.7749 MB / 0.8466 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.3758, allocations: 266 kB / 0.8468 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.3772, allocations: 1.726 MB / 0.8485 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.3772, allocations: 39 kB / 0.8486 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.525e-06/0.3772, allocations: 0 / 0.8486 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.005184/0.3824, allocations: 1.339 MB / 0.8499 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3824, allocations: 55.84 kB / 0.8499 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.3851, allocations: 1.55 MB / 0.8514 GB, free: 15.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-05/0.3852, allocations: 41.7 kB / 0.8515 GB, free: 15.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/0.3858, allocations: 0.6858 MB / 0.8521 GB, free: 14.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.386, allocations: 178.5 kB / 0.8523 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.3863, allocations: 170.5 kB / 0.8525 GB, free: 14.64 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3865, allocations: 333.9 kB / 0.8528 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3875, allocations: 373.8 kB / 0.8531 GB, free: 13.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3888, allocations: 0.6546 MB / 0.8538 GB, free: 13.17 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.3908, allocations: 0.8867 MB / 0.8547 GB, free: 12.18 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.3908, allocations: 4 kB / 0.8547 GB, free: 12.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003178/0.3939, allocations: 1.198 MB / 0.8558 GB, free: 10.97 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.394, allocations: 9.406 kB / 0.8558 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.394, allocations: 8 kB / 0.8558 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009483/0.3949, allocations: 224.6 kB / 0.8561 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/0.3957, allocations: 191.7 kB / 0.8562 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009631/0.3967, allocations: 0.724 MB / 0.8569 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.3983, allocations: 219 kB / 0.8572 GB, free: 9.578 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3984, allocations: 43.98 kB / 0.8572 GB, free: 9.535 MB / 0.67 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.0006477/0.3991, allocations: 358.4 kB / 0.8575 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.3994, allocations: 166.9 kB / 0.8577 GB, free: 9.012 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.402, allocations: 1.133 MB / 0.8588 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.4021, allocations: 4 kB / 0.8588 GB, free: 7.871 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4021, allocations: 0 / 0.8588 GB, free: 7.871 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.4021, allocations: 3.984 kB / 0.8588 GB, free: 7.867 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005563/0.4076, allocations: 2.51 MB / 0.8613 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.4076, allocations: 4 kB / 0.8613 GB, free: 5.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.408, allocations: 83.88 kB / 0.8613 GB, free: 5.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008138/0.4088, allocations: 212.7 kB / 0.8615 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.4089, allocations: 23.98 kB / 0.8616 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.4103, allocations: 0.7747 MB / 0.8623 GB, free: 4.152 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4103, allocations: 0 / 0.8623 GB, free: 4.152 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.414, allocations: 1.208 MB / 0.8635 GB, free: 2.902 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/0.4146, allocations: 367.7 kB / 0.8639 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.4148, allocations: 12 kB / 0.8639 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009347/0.4158, allocations: 71.92 kB / 0.8639 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.4159, allocations: 48.44 kB / 0.864 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/0.4159, allocations: 27.92 kB / 0.864 GB, free: 2.367 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001868/0.4178, allocations: 1.09 MB / 0.8651 GB, free: 1.281 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.4178, allocations: 0 / 0.8651 GB, free: 1.281 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001321/0.4191, allocations: 451.1 kB / 0.8655 GB, free: 0.8398 MB / 0.67 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.3851/0.8042, allocations: 2.1 MB / 0.8676 GB, free: 138.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.8066, allocations: 0.8242 MB / 0.8684 GB, free: 138.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8066, allocations: 1.031 kB / 0.8684 GB, free: 138.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.8079, allocations: 419.2 kB / 0.8688 GB, free: 138.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/0.8113, allocations: 0.7431 MB / 0.8695 GB, free: 138.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.8311, allocations: 10.51 MB / 0.8798 GB, free: 133.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/0.8321, allocations: 1.175 MB / 0.8809 GB, free: 132.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001451/0.8335, allocations: 269.6 kB / 0.8812 GB, free: 132.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/0.8344, allocations: 0.5475 MB / 0.8817 GB, free: 132.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.723e-06/0.8344, allocations: 3.906 kB / 0.8817 GB, free: 132.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07063/0.905, allocations: 43.92 MB / 0.9246 GB, free: 95.72 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.01, allocations: 9.016 kB / 0.9246 GB, free: 95.71 MB / 0.67 GB " [Timeout remaining time 644] (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: 20.26670328498585] Failed to read output from testmodel.py, exit status != 0: 16.187571951944847 16.198898718 15.856502352 Calling exit ...