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.001323/0.001323, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001543/0.001543, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.801 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.9854/0.9854, allocations: 145 MB / 457.4 MB, free: 15.3 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.002969/0.002969, allocations: 75.47 kB / 0.6331 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2256, allocations: 87.88 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4385/0.6641, allocations: 65.01 MB / 0.7824 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02972/0.6938, allocations: 17.57 MB / 0.7996 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.6972, allocations: 95.22 kB / 0.7997 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.7, allocations: 0.8259 MB / 0.8005 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009088/0.7091, allocations: 3.035 MB / 0.8034 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005042/0.7141, allocations: 1.697 MB / 0.8051 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006598/0.7207, allocations: 4.072 MB / 0.8091 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.7228, allocations: 1.133 MB / 0.8102 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005744/0.7286, allocations: 1.872 MB / 0.812 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0031/0.7317, allocations: 1.167 MB / 0.8131 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.7321, allocations: 177.6 kB / 0.8133 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.7358, allocations: 1.153 MB / 0.8144 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004647/0.7362, allocations: 403.5 kB / 0.8148 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.7375, allocations: 0.7137 MB / 0.8155 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.7424, allocations: 3.281 MB / 0.8187 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7424, allocations: 0 / 0.8187 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7424, allocations: 0 / 0.8187 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.235e-05/0.7424, allocations: 0 / 0.8187 GB, free: 3.254 MB / 0.5919 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.004052/0.7465, allocations: 2 MB / 0.8207 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7465, allocations: 10.88 kB / 0.8207 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.7467, allocations: 153.5 kB / 0.8208 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.749, allocations: 458.2 kB / 0.8213 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.752, allocations: 1.511 MB / 0.8227 GB, free: 220 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/0.7521, allocations: 83.09 kB / 0.8228 GB, free: 180 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.7523, allocations: 107.2 kB / 0.8229 GB, free: 144 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.7551, allocations: 1.419 MB / 0.8243 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.7552, allocations: 0 / 0.8243 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.7553, allocations: 47.45 kB / 0.8243 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.7553, allocations: 26 kB / 0.8244 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.7579, allocations: 1.102 MB / 0.8254 GB, free: 14.51 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.009/0.7669, allocations: 5.646 MB / 0.831 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.77, allocations: 0.7649 MB / 0.8317 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/0.7707, allocations: 266 kB / 0.832 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/0.7712, allocations: 152.3 kB / 0.8321 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.7713, allocations: 52.05 kB / 0.8322 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/0.7713, allocations: 0 / 0.8322 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.005007/0.7763, allocations: 1.26 MB / 0.8334 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.7764, allocations: 63.78 kB / 0.8334 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.7794, allocations: 1.561 MB / 0.835 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.7796, allocations: 33.7 kB / 0.835 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007372/0.7803, allocations: 0.6818 MB / 0.8357 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.7806, allocations: 178.5 kB / 0.8358 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.7809, allocations: 174.5 kB / 0.836 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.7811, allocations: 341.9 kB / 0.8363 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.7821, allocations: 361.8 kB / 0.8367 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.7837, allocations: 0.9916 MB / 0.8376 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.7857, allocations: 0.878 MB / 0.8385 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.7857, allocations: 7.938 kB / 0.8385 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003326/0.789, allocations: 1.197 MB / 0.8397 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.789, allocations: 8 kB / 0.8397 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7891, allocations: 8 kB / 0.8397 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009475/0.79, allocations: 224.6 kB / 0.8399 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.7908, allocations: 195.7 kB / 0.8401 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009629/0.7918, allocations: 0.7201 MB / 0.8408 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.7934, allocations: 226.9 kB / 0.841 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.7935, allocations: 39.98 kB / 0.8411 GB, free: 14.17 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.0006346/0.7942, allocations: 357.6 kB / 0.8414 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.7944, allocations: 151 kB / 0.8415 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.797, allocations: 1.158 MB / 0.8427 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.797, allocations: 8 kB / 0.8427 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.797, allocations: 4 kB / 0.8427 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7971, allocations: 3.984 kB / 0.8427 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.8025, allocations: 2.296 MB / 0.8449 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.8025, allocations: 0 / 0.8449 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.8029, allocations: 87.88 kB / 0.845 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/0.8037, allocations: 208.8 kB / 0.8452 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.8037, allocations: 19.98 kB / 0.8452 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.8051, allocations: 0.7747 MB / 0.846 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8051, allocations: 3.938 kB / 0.846 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.8088, allocations: 1.226 MB / 0.8472 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/0.8095, allocations: 294.5 kB / 0.8475 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.8097, allocations: 12 kB / 0.8475 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008772/0.8106, allocations: 67.92 kB / 0.8475 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8107, allocations: 40.42 kB / 0.8476 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.8108, allocations: 27.98 kB / 0.8476 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001913/0.8127, allocations: 1.086 MB / 0.8487 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8127, allocations: 0 / 0.8487 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001653/0.8143, allocations: 447.1 kB / 0.8491 GB, free: 5.785 MB / 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.005308/0.8196, allocations: 2.143 MB / 0.8512 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.8221, allocations: 0.8208 MB / 0.852 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.8221, allocations: 7.938 kB / 0.852 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.8235, allocations: 427.3 kB / 0.8524 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/0.8271, allocations: 0.7376 MB / 0.8531 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.8474, allocations: 10.5 MB / 0.8634 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.8481, allocations: 0.5835 MB / 0.8639 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001162/0.8493, allocations: 274.1 kB / 0.8642 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008008/0.8501, allocations: 0.5422 MB / 0.8647 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of SimCode: time 1.883e-06/0.8501, allocations: 0 / 0.8647 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/0.9532, allocations: 47.31 MB / 0.9109 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.18, allocations: 2.5 kB / 0.9109 GB, free: 6.762 MB / 0.6856 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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 os._exit(0), Time elapsed: 19.21823432482779] Failed to read output from testmodel.py, exit status != 0: 15.330645923968405 15.354423956 14.608536329 Calling exit ...