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.0008988/0.0008988, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008347/0.0008347, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.016/1.016, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.5599/0.5599, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.5473 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.715e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0409/0.04091, allocations: 64.49 MB / 0.6102 GB, free: 9.109 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.05752, allocations: 17.57 MB / 0.6274 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.05957, allocations: 95.19 kB / 0.6275 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.06118, allocations: 0.8343 MB / 0.6283 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005598/0.06678, allocations: 3.105 MB / 0.6313 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.06966, allocations: 1.768 MB / 0.6331 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003714/0.07337, allocations: 4.089 MB / 0.6371 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.07451, allocations: 1.137 MB / 0.6382 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.07754, allocations: 2.418 MB / 0.6405 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.07859, allocations: 1.038 MB / 0.6415 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.07873, allocations: 172 kB / 0.6417 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.08051, allocations: 1.173 MB / 0.6428 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.08076, allocations: 414.4 kB / 0.6432 GB, free: 7.191 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.0812, allocations: 0.5923 MB / 0.6438 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.08401, allocations: 3.322 MB / 0.6471 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.08401, allocations: 0 / 0.6471 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.08401, allocations: 4 kB / 0.6471 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.08404, allocations: 0 / 0.6471 GB, free: 3.258 MB / 0.6042 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.002313/0.08635, allocations: 1.996 MB / 0.649 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.08639, allocations: 8.625 kB / 0.649 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.08653, allocations: 160.5 kB / 0.6492 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.08761, allocations: 455.2 kB / 0.6496 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.08937, allocations: 1.508 MB / 0.6511 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.08943, allocations: 82.03 kB / 0.6512 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.08952, allocations: 100 kB / 0.6513 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.09099, allocations: 1.421 MB / 0.6526 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.09101, allocations: 0 / 0.6526 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.09108, allocations: 44 kB / 0.6527 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.09109, allocations: 27.94 kB / 0.6527 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.09272, allocations: 1.097 MB / 0.6538 GB, free: 12.14 MB / 0.6198 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.004481/0.09721, allocations: 5.631 MB / 0.6593 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.09878, allocations: 0.7725 MB / 0.66 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.09911, allocations: 266.2 kB / 0.6603 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.09941, allocations: 148.4 kB / 0.6604 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.09943, allocations: 43 kB / 0.6605 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/0.09944, allocations: 0 / 0.6605 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002499/0.1019, allocations: 1.266 MB / 0.6617 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.102, allocations: 63.84 kB / 0.6618 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.1033, allocations: 1.557 MB / 0.6633 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.1034, allocations: 37.7 kB / 0.6633 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.1038, allocations: 0.6857 MB / 0.664 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1039, allocations: 178.5 kB / 0.6642 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.104, allocations: 174.5 kB / 0.6643 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.1041, allocations: 334 kB / 0.6647 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.1046, allocations: 361.8 kB / 0.665 GB, free: 428 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/0.1054, allocations: 0.9886 MB / 0.666 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.1064, allocations: 0.8861 MB / 0.6668 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1064, allocations: 4 kB / 0.6668 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001865/0.1083, allocations: 1.2 MB / 0.668 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.1083, allocations: 8 kB / 0.668 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.1083, allocations: 11.94 kB / 0.668 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.1088, allocations: 220.6 kB / 0.6682 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.1092, allocations: 191.7 kB / 0.6684 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005352/0.1098, allocations: 0.7201 MB / 0.6691 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.1104, allocations: 215 kB / 0.6693 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.1105, allocations: 39.98 kB / 0.6694 GB, free: 11.59 MB / 0.6355 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.0003478/0.1108, allocations: 353.6 kB / 0.6697 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.111, allocations: 151 kB / 0.6698 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.1127, allocations: 1.168 MB / 0.671 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.1127, allocations: 7.984 kB / 0.671 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1127, allocations: 0 / 0.671 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1127, allocations: 15.91 kB / 0.671 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.1156, allocations: 2.296 MB / 0.6733 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1156, allocations: 0 / 0.6733 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1157, allocations: 83.88 kB / 0.6733 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.1162, allocations: 212.8 kB / 0.6735 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.1162, allocations: 16 kB / 0.6736 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006825/0.1169, allocations: 0.767 MB / 0.6743 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1169, allocations: 7.969 kB / 0.6743 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.1189, allocations: 1.219 MB / 0.6755 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.1193, allocations: 278.7 kB / 0.6758 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/0.1194, allocations: 19.92 kB / 0.6758 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.1198, allocations: 71.86 kB / 0.6759 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.1198, allocations: 40.42 kB / 0.6759 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.1199, allocations: 31.98 kB / 0.6759 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001069/0.1209, allocations: 1.086 MB / 0.677 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.1209, allocations: 0 / 0.677 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009162/0.1219, allocations: 451.1 kB / 0.6774 GB, free: 3.207 MB / 0.6355 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.002578/0.1244, allocations: 2.149 MB / 0.6795 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.1257, allocations: 0.8324 MB / 0.6803 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1257, allocations: 4 kB / 0.6803 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.2123/0.338, allocations: 416.6 kB / 0.6807 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.3401, allocations: 0.7317 MB / 0.6814 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3502, allocations: 10.52 MB / 0.6917 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3505, allocations: 0.5833 MB / 0.6923 GB, free: 162.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000598/0.3511, allocations: 272.4 kB / 0.6925 GB, free: 162.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.3515, allocations: 0.5446 MB / 0.6931 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.533e-06/0.3515, allocations: 6.594 kB / 0.6931 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/0.4083, allocations: 47.39 MB / 0.7394 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.229/9.637, allocations: 4.062 kB / 0.7394 GB, free: 146.2 MB / 0.6355 GB " [Timeout remaining time 650] (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: 13.768357976339757] Failed to read output from testmodel.py, exit status != 0: 9.749986595474184 9.75788583 9.672405299 Calling exit ...