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.0008291/0.0008291, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008414/0.0008414, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.8978/0.8978, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.556/0.556, allocations: 110.3 MB / 369.4 MB, free: 12.63 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.743e-06/1.743e-06, allocations: 0 / 0.5473 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.66e-05, allocations: 3 kB / 0.5473 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04683/0.04686, allocations: 64.49 MB / 0.6102 GB, free: 9.133 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.0632, allocations: 17.56 MB / 0.6274 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.06516, allocations: 95.19 kB / 0.6275 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.06696, allocations: 0.8382 MB / 0.6283 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.07204, allocations: 3.109 MB / 0.6313 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.07473, allocations: 1.77 MB / 0.6331 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.07853, allocations: 4.084 MB / 0.637 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.07978, allocations: 1.141 MB / 0.6382 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.08297, allocations: 2.415 MB / 0.6405 GB, free: 10 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.08489, allocations: 1.036 MB / 0.6415 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.08535, allocations: 176 kB / 0.6417 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.08801, allocations: 1.173 MB / 0.6428 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.08839, allocations: 410.3 kB / 0.6432 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.08946, allocations: 0.604 MB / 0.6438 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.09419, allocations: 3.315 MB / 0.6471 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.0942, allocations: 0 / 0.6471 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.0942, allocations: 0 / 0.6471 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.243e-05/0.09425, allocations: 4 kB / 0.6471 GB, free: 3.277 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.003061/0.09732, allocations: 1.992 MB / 0.649 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.09736, allocations: 8.031 kB / 0.649 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.09751, allocations: 160.4 kB / 0.6492 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.09875, allocations: 459.2 kB / 0.6496 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.1012, allocations: 1.508 MB / 0.6511 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.1013, allocations: 78.03 kB / 0.6512 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1014, allocations: 108 kB / 0.6513 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.1033, allocations: 1.413 MB / 0.6526 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.1033, allocations: 7.938 kB / 0.6526 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.1034, allocations: 40 kB / 0.6527 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.1034, allocations: 28 kB / 0.6527 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.1051, allocations: 1.093 MB / 0.6538 GB, free: 12.16 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.006423/0.1115, allocations: 5.631 MB / 0.6593 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1132, allocations: 0.7699 MB / 0.66 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.1136, allocations: 266.1 kB / 0.6603 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.1139, allocations: 152.4 kB / 0.6604 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1139, allocations: 47 kB / 0.6605 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.176e-06/0.1139, allocations: 0 / 0.6605 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002758/0.1167, allocations: 1.273 MB / 0.6617 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.1167, allocations: 59.91 kB / 0.6618 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.1185, allocations: 1.557 MB / 0.6633 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.1186, allocations: 33.7 kB / 0.6633 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.119, allocations: 0.6857 MB / 0.664 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1192, allocations: 174.5 kB / 0.6642 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.1194, allocations: 170.5 kB / 0.6643 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.1194, allocations: 334 kB / 0.6646 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.12, allocations: 369.8 kB / 0.665 GB, free: 448 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/0.1208, allocations: 0.9847 MB / 0.666 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.1219, allocations: 0.886 MB / 0.6668 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1219, allocations: 0 / 0.6668 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001916/0.1238, allocations: 1.204 MB / 0.668 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.1239, allocations: 8 kB / 0.668 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1239, allocations: 8 kB / 0.668 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/0.1245, allocations: 224.6 kB / 0.6682 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.1249, allocations: 191.7 kB / 0.6684 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006025/0.1255, allocations: 0.7201 MB / 0.6691 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.1265, allocations: 215.1 kB / 0.6693 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.1266, allocations: 39.98 kB / 0.6694 GB, free: 11.62 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.0005275/0.1272, allocations: 357.6 kB / 0.6697 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.1274, allocations: 155 kB / 0.6698 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.1289, allocations: 1.168 MB / 0.671 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.1289, allocations: 8 kB / 0.671 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.129, allocations: 0 / 0.671 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.129, allocations: 3.984 kB / 0.671 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.1326, allocations: 2.296 MB / 0.6732 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.1326, allocations: 4 kB / 0.6732 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.1329, allocations: 80.08 kB / 0.6733 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/0.1335, allocations: 212.6 kB / 0.6735 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.1335, allocations: 15.98 kB / 0.6735 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007665/0.1343, allocations: 0.7786 MB / 0.6743 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1343, allocations: 0 / 0.6743 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.1367, allocations: 1.223 MB / 0.6755 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/0.1373, allocations: 282.7 kB / 0.6758 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.1375, allocations: 19.88 kB / 0.6758 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/0.138, allocations: 75.91 kB / 0.6759 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.1381, allocations: 40.42 kB / 0.6759 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.1381, allocations: 23.98 kB / 0.6759 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001422/0.1396, allocations: 1.082 MB / 0.677 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1396, allocations: 0 / 0.677 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001077/0.1406, allocations: 451.1 kB / 0.6774 GB, free: 3.23 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.002958/0.1436, allocations: 2.157 MB / 0.6795 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.145, allocations: 0.8281 MB / 0.6803 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.145, allocations: 0 / 0.6803 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.2224/0.3675, allocations: 421.1 kB / 0.6807 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.3698, allocations: 0.7305 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.0128/0.3826, allocations: 10.52 MB / 0.6917 GB, free: 162.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.383, allocations: 0.5861 MB / 0.6923 GB, free: 162.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009045/0.3839, allocations: 268.5 kB / 0.6925 GB, free: 162.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.3844, allocations: 0.5472 MB / 0.6931 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.714e-06/0.3844, allocations: 3.938 kB / 0.6931 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06946/0.4539, allocations: 47.22 MB / 0.7392 GB, free: 146.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.848/9.302, allocations: 0 / 0.7392 GB, free: 146.6 MB / 0.6355 GB " [Timeout remaining time 651] (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: 12.959355598315597] Failed to read output from testmodel.py, exit status != 0: 9.412587532773614 9.417485367 9.321809248 Calling exit ...