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.001453/0.001453, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001754/0.001754, allocations: 219 kB / 22.26 MB, free: 5.082 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 8.016 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.8582/0.8582, allocations: 145 MB / 457.4 MB, free: 15.5 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="me",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="me",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.001926/0.001926, allocations: 70.44 kB / 0.6332 GB, free: 7.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1594, allocations: 87.87 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3636/0.523, allocations: 71.94 MB / 0.7892 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02615/0.5492, allocations: 19.13 MB / 0.8079 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.5518, allocations: 94.91 kB / 0.808 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.5542, allocations: 0.8511 MB / 0.8088 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008365/0.5626, allocations: 3.062 MB / 0.8118 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.5669, allocations: 1.712 MB / 0.8135 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005877/0.5728, allocations: 4.093 MB / 0.8175 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.5745, allocations: 1.163 MB / 0.8186 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/0.5786, allocations: 1.85 MB / 0.8204 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.5806, allocations: 1.245 MB / 0.8217 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.5808, allocations: 176.3 kB / 0.8218 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.5838, allocations: 1.494 MB / 0.8233 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.5842, allocations: 398.8 kB / 0.8237 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009031/0.5851, allocations: 0.9158 MB / 0.8246 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.5892, allocations: 3.332 MB / 0.8278 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.5892, allocations: 0 / 0.8278 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5892, allocations: 0 / 0.8278 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.5892, allocations: 4 kB / 0.8278 GB, free: 12.68 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.003211/0.5924, allocations: 2.004 MB / 0.8298 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5925, allocations: 15.36 kB / 0.8298 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.5927, allocations: 154.9 kB / 0.8299 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.5948, allocations: 450.4 kB / 0.8304 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.5975, allocations: 1.513 MB / 0.8318 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.5975, allocations: 79.19 kB / 0.8319 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.5976, allocations: 104.1 kB / 0.832 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.6001, allocations: 1.322 MB / 0.8333 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.6001, allocations: 3.938 kB / 0.8333 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.6002, allocations: 44 kB / 0.8334 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.6002, allocations: 24 kB / 0.8334 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.6028, allocations: 1.093 MB / 0.8344 GB, free: 7.312 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.009025/0.6118, allocations: 7.412 MB / 0.8417 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.6148, allocations: 0.7795 MB / 0.8424 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.6154, allocations: 258 kB / 0.8427 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005111/0.6159, allocations: 164.2 kB / 0.8428 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.6159, allocations: 39 kB / 0.8429 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 1.824e-06/0.6159, allocations: 0 / 0.8429 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004536/0.6204, allocations: 1.264 MB / 0.8441 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.6205, allocations: 55.84 kB / 0.8442 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.6228, allocations: 1.557 MB / 0.8457 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.6228, allocations: 33.7 kB / 0.8457 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.6235, allocations: 0.6819 MB / 0.8464 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.6236, allocations: 178.5 kB / 0.8466 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.6239, allocations: 182.4 kB / 0.8467 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.624, allocations: 330 kB / 0.847 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009452/0.625, allocations: 371.6 kB / 0.8474 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.6262, allocations: 0.6545 MB / 0.848 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.628, allocations: 0.8858 MB / 0.8489 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.628, allocations: 7.938 kB / 0.8489 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002924/0.6309, allocations: 1.201 MB / 0.8501 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6309, allocations: 8 kB / 0.8501 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6309, allocations: 11.94 kB / 0.8501 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008746/0.6318, allocations: 216.6 kB / 0.8503 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.6326, allocations: 191.7 kB / 0.8505 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008732/0.6334, allocations: 0.7201 MB / 0.8512 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.6349, allocations: 219 kB / 0.8514 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.635, allocations: 39.98 kB / 0.8514 GB, free: 5.062 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.000594/0.6356, allocations: 365.5 kB / 0.8518 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.6359, allocations: 155 kB / 0.8519 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.6384, allocations: 1.155 MB / 0.8531 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.6384, allocations: 8 kB / 0.8531 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6384, allocations: 4 kB / 0.8531 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.6384, allocations: 7.984 kB / 0.8531 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.6436, allocations: 2.503 MB / 0.8555 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6436, allocations: 0 / 0.8555 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.644, allocations: 83.88 kB / 0.8556 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/0.6447, allocations: 208.8 kB / 0.8558 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.6447, allocations: 19.98 kB / 0.8558 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.646, allocations: 0.7715 MB / 0.8566 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.646, allocations: 8.172 kB / 0.8566 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.6493, allocations: 1.223 MB / 0.8578 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.6499, allocations: 286.6 kB / 0.8581 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.6501, allocations: 8 kB / 0.8581 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/0.651, allocations: 75.91 kB / 0.8581 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.6511, allocations: 40.42 kB / 0.8582 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.6511, allocations: 31.92 kB / 0.8582 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001819/0.653, allocations: 1.086 MB / 0.8593 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.653, allocations: 0 / 0.8593 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001322/0.6543, allocations: 455 kB / 0.8597 GB, free: 12.46 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.00433/0.6586, allocations: 2.142 MB / 0.8618 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.6607, allocations: 0.8289 MB / 0.8626 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6607, allocations: 4.062 kB / 0.8626 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.662, allocations: 427 kB / 0.863 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.6649, allocations: 0.7375 MB / 0.8637 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.6831, allocations: 10.5 MB / 0.874 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/0.684, allocations: 1.168 MB / 0.8751 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001025/0.685, allocations: 270.8 kB / 0.8754 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007692/0.6858, allocations: 0.5422 MB / 0.8759 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/0.6858, allocations: 0 / 0.8759 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0915/0.7773, allocations: 44.88 MB / 0.9197 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.32, allocations: 17.09 kB / 0.9198 GB, free: 15.06 MB / 0.7012 GB " [Timeout remaining time 645] (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: 18.770540504949167] Failed to read output from testmodel.py, exit status != 0: 15.45129612996243 15.466235685000001 14.873816298 Calling exit ...