Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.00143/0.00143, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001778/0.001778, allocations: 211.3 kB / 23.04 MB, free: 5.074 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8826/0.8826, allocations: 145 MB / 458.2 MB, free: 15.56 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002004/0.002004, allocations: 67.38 kB / 0.6339 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 87.89 MB / 0.7198 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4413/0.6181, allocations: 71.93 MB / 0.79 GB, free: 8.055 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03148/0.6496, allocations: 19.13 MB / 0.8087 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.6528, allocations: 94.62 kB / 0.8088 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.6561, allocations: 0.8526 MB / 0.8096 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.6662, allocations: 3.066 MB / 0.8126 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005324/0.6715, allocations: 1.714 MB / 0.8143 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006915/0.6784, allocations: 4.097 MB / 0.8183 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.6807, allocations: 1.159 MB / 0.8194 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004632/0.6853, allocations: 1.848 MB / 0.8212 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.688, allocations: 1.238 MB / 0.8224 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000345/0.6884, allocations: 175.2 kB / 0.8226 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.6918, allocations: 1.498 MB / 0.824 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.6923, allocations: 395.5 kB / 0.8244 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.6937, allocations: 0.9168 MB / 0.8253 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006951/0.7007, allocations: 3.332 MB / 0.8286 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7007, allocations: 0 / 0.8286 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7007, allocations: 0 / 0.8286 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.949e-05/0.7008, allocations: 0 / 0.8286 GB, free: 12.73 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.004268/0.705, allocations: 2.009 MB / 0.8305 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.7051, allocations: 10.81 kB / 0.8305 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.964e-05/0.7051, allocations: 30.47 kB / 0.8306 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.7053, allocations: 154.2 kB / 0.8307 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.7076, allocations: 457.6 kB / 0.8312 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.7104, allocations: 1.498 MB / 0.8326 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.7105, allocations: 87.41 kB / 0.8327 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.7106, allocations: 106.1 kB / 0.8328 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.7133, allocations: 1.314 MB / 0.8341 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.7134, allocations: 7.922 kB / 0.8341 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.7135, allocations: 44 kB / 0.8341 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.7135, allocations: 24 kB / 0.8342 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.7165, allocations: 1.105 MB / 0.8352 GB, free: 7.324 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.009947/0.7264, allocations: 7.404 MB / 0.8425 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.7296, allocations: 0.782 MB / 0.8432 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.7303, allocations: 266 kB / 0.8435 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/0.7308, allocations: 160.2 kB / 0.8436 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.7309, allocations: 42.94 kB / 0.8437 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.264e-06/0.7309, allocations: 0 / 0.8437 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.005076/0.736, allocations: 1.26 MB / 0.8449 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.736, allocations: 55.84 kB / 0.845 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.7388, allocations: 1.553 MB / 0.8465 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7389, allocations: 37.7 kB / 0.8465 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/0.7396, allocations: 0.6896 MB / 0.8472 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.7398, allocations: 178.5 kB / 0.8474 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.7401, allocations: 174.5 kB / 0.8475 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7403, allocations: 334 kB / 0.8478 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.7413, allocations: 361.8 kB / 0.8482 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.7426, allocations: 0.6623 MB / 0.8488 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.7446, allocations: 0.8935 MB / 0.8497 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7446, allocations: 0 / 0.8497 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003254/0.7478, allocations: 1.193 MB / 0.8509 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7479, allocations: 8 kB / 0.8509 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.7479, allocations: 8 kB / 0.8509 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008921/0.7488, allocations: 220.6 kB / 0.8511 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.7496, allocations: 191.7 kB / 0.8513 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/0.7505, allocations: 0.724 MB / 0.852 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.7521, allocations: 219 kB / 0.8522 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.7522, allocations: 43.98 kB / 0.8522 GB, free: 5.078 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.0006618/0.7529, allocations: 353.5 kB / 0.8526 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.7532, allocations: 155 kB / 0.8527 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.7557, allocations: 1.153 MB / 0.8539 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.7558, allocations: 11.98 kB / 0.8539 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7558, allocations: 8 kB / 0.8539 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.7558, allocations: 3.984 kB / 0.8539 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.7612, allocations: 2.499 MB / 0.8563 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.7612, allocations: 3.938 kB / 0.8563 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.7615, allocations: 88.08 kB / 0.8564 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007658/0.7623, allocations: 212.5 kB / 0.8566 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.7624, allocations: 19.98 kB / 0.8566 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.7637, allocations: 0.7786 MB / 0.8574 GB, free: 15.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7637, allocations: 0 / 0.8574 GB, free: 15.7 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.7674, allocations: 1.226 MB / 0.8586 GB, free: 14.44 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/0.7682, allocations: 282.7 kB / 0.8589 GB, free: 14.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.7684, allocations: 12 kB / 0.8589 GB, free: 14.15 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/0.7693, allocations: 79.84 kB / 0.8589 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.7693, allocations: 36.42 kB / 0.859 GB, free: 14.04 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/0.7694, allocations: 27.98 kB / 0.859 GB, free: 14.01 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.001949/0.7714, allocations: 1.09 MB / 0.8601 GB, free: 12.92 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7714, allocations: 4 kB / 0.8601 GB, free: 12.92 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.001383/0.7727, allocations: 459 kB / 0.8605 GB, free: 12.47 MB / 0.6388 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.004707/0.7774, allocations: 2.128 MB / 0.8626 GB, free: 10.29 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.7798, allocations: 0.8287 MB / 0.8634 GB, free: 9.469 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7798, allocations: 0 / 0.8634 GB, free: 9.469 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.7811, allocations: 427.2 kB / 0.8638 GB, free: 9.051 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/0.7845, allocations: 0.7401 MB / 0.8645 GB, free: 8.324 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/0.8031, allocations: 10.5 MB / 0.8748 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/0.8039, allocations: 1.164 MB / 0.8759 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001042/0.805, allocations: 279.2 kB / 0.8762 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/0.8057, allocations: 0.5422 MB / 0.8767 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.8057, allocations: 0 / 0.8767 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.921, allocations: 44.91 MB / 0.9206 GB, free: 15.07 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/16.44, allocations: 7.922 kB / 0.9206 GB, free: 15.06 MB / 0.7013 GB " [Timeout remaining time 643] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.28297644504346] Failed to read output from testmodel.py, exit status != 0: 16.64773016696563 16.664723277 15.960459957 Calling exit ...