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.001914/0.001914, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002284/0.002284, allocations: 210.8 kB / 22.99 MB, free: 4.609 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.619/1.619, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.965/0.965, allocations: 149.9 MB / 463.1 MB, free: 10.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",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.002161/0.002161, allocations: 62 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1841, allocations: 89.18 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4638/0.6479, allocations: 65.1 MB / 0.7917 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02692/0.6748, allocations: 17.56 MB / 0.8089 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.6775, allocations: 95.38 kB / 0.809 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.68, allocations: 0.8263 MB / 0.8098 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00974/0.6897, allocations: 3.016 MB / 0.8127 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.6946, allocations: 1.685 MB / 0.8144 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005832/0.7004, allocations: 4.068 MB / 0.8183 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.7023, allocations: 1.139 MB / 0.8194 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.7072, allocations: 1.995 MB / 0.8214 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.7096, allocations: 1.135 MB / 0.8225 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.7099, allocations: 175.6 kB / 0.8227 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.7129, allocations: 1.149 MB / 0.8238 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.7133, allocations: 403.3 kB / 0.8242 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.7144, allocations: 0.7111 MB / 0.8249 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.7196, allocations: 3.106 MB / 0.8279 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7196, allocations: 0 / 0.8279 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7196, allocations: 1 kB / 0.8279 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.063e-05/0.7196, allocations: 0 / 0.8279 GB, free: 10.27 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.004191/0.7238, allocations: 2.021 MB / 0.8299 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7239, allocations: 9.625 kB / 0.8299 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.7241, allocations: 155.3 kB / 0.83 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.7264, allocations: 459.8 kB / 0.8305 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.7296, allocations: 1.521 MB / 0.832 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.7297, allocations: 80.47 kB / 0.832 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.7298, allocations: 103.6 kB / 0.8321 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.7326, allocations: 1.418 MB / 0.8335 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.7326, allocations: 6.656 kB / 0.8335 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7327, allocations: 42.28 kB / 0.8336 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.7327, allocations: 29.66 kB / 0.8336 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.7354, allocations: 1.102 MB / 0.8347 GB, free: 5.5 MB / 0.6075 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.008979/0.7444, allocations: 5.605 MB / 0.8401 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.7475, allocations: 0.7811 MB / 0.8409 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.7481, allocations: 259.1 kB / 0.8412 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/0.7486, allocations: 154.5 kB / 0.8413 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.7487, allocations: 53.89 kB / 0.8413 GB, free: 216 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.845e-06/0.7487, allocations: 0 / 0.8413 GB, free: 216 kB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004907/0.7536, allocations: 1.262 MB / 0.8426 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.7536, allocations: 57.38 kB / 0.8426 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.7561, allocations: 1.558 MB / 0.8442 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.7562, allocations: 38.64 kB / 0.8442 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.7568, allocations: 0.6857 MB / 0.8449 GB, free: 14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.757, allocations: 184.9 kB / 0.845 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.7573, allocations: 172.6 kB / 0.8452 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7574, allocations: 337.9 kB / 0.8455 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009773/0.7584, allocations: 366.1 kB / 0.8459 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.7599, allocations: 0.9868 MB / 0.8468 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.7618, allocations: 0.8858 MB / 0.8477 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.7618, allocations: 4 kB / 0.8477 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003401/0.7652, allocations: 1.197 MB / 0.8489 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.7653, allocations: 12 kB / 0.8489 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.7653, allocations: 4 kB / 0.8489 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009374/0.7662, allocations: 224.6 kB / 0.8491 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.767, allocations: 195.7 kB / 0.8493 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009522/0.7679, allocations: 0.7123 MB / 0.85 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.7696, allocations: 215.1 kB / 0.8502 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.7697, allocations: 39.98 kB / 0.8502 GB, free: 8.461 MB / 0.6231 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.0006735/0.7704, allocations: 361.6 kB / 0.8506 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.7707, allocations: 155 kB / 0.8507 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.7733, allocations: 1.159 MB / 0.8519 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.7733, allocations: 12 kB / 0.8519 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7733, allocations: 3.938 kB / 0.8519 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7733, allocations: 7.984 kB / 0.8519 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005656/0.779, allocations: 2.297 MB / 0.8541 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.779, allocations: 96 / 0.8541 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.7794, allocations: 91.81 kB / 0.8542 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000797/0.7802, allocations: 208.8 kB / 0.8544 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.7802, allocations: 16 kB / 0.8544 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.7816, allocations: 0.7747 MB / 0.8552 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7816, allocations: 0 / 0.8552 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.7854, allocations: 1.23 MB / 0.8564 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008132/0.7862, allocations: 278.7 kB / 0.8566 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.7864, allocations: 12 kB / 0.8567 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.7874, allocations: 75.91 kB / 0.8567 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.7875, allocations: 40.42 kB / 0.8568 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.7875, allocations: 23.98 kB / 0.8568 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001866/0.7894, allocations: 1.09 MB / 0.8579 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7894, allocations: 0 / 0.8579 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001421/0.7908, allocations: 455 kB / 0.8583 GB, free: 68 kB / 0.6231 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.004759/0.7956, allocations: 2.129 MB / 0.8604 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00235/0.7979, allocations: 0.8286 MB / 0.8612 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7979, allocations: 4 kB / 0.8612 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.7993, allocations: 427.3 kB / 0.8616 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.8029, allocations: 0.7476 MB / 0.8623 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/0.8238, allocations: 10.52 MB / 0.8726 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.8245, allocations: 0.5916 MB / 0.8732 GB, free: 396 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001195/0.8257, allocations: 272.1 kB / 0.8734 GB, free: 120 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008451/0.8265, allocations: 0.5501 MB / 0.874 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.312e-06/0.8265, allocations: 0 / 0.874 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09465/0.9212, allocations: 46.95 MB / 0.9198 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.25, allocations: 12.17 kB / 0.9198 GB, free: 1.301 MB / 0.6856 GB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 19.31619013985619] Failed to read output from testmodel.py, exit status != 0: 15.40352449985221 15.426149899 14.703186169 Calling exit ...