Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.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.001609/0.001609, allocations: 113 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.002083/0.002083, allocations: 210.3 kB / 22.25 MB, free: 5.086 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 8.008 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.9882/0.9882, allocations: 145 MB / 457.4 MB, free: 15.54 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.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",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.001971/0.001971, allocations: 65.95 kB / 0.6332 GB, free: 7.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1903, allocations: 87.87 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002954/0.1933, allocations: 1.532 MB / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1946, allocations: 0.7571 MB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1946, allocations: 4 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.1947, allocations: 3.938 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.582e-05/0.1947, allocations: 3.938 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.1951, allocations: 103.6 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1953, allocations: 39.86 kB / 0.7214 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1954, allocations: 15.98 kB / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1955, allocations: 23.86 kB / 0.7214 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.1955, allocations: 15.92 kB / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1955, allocations: 4 kB / 0.7214 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.1958, allocations: 115.9 kB / 0.7215 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1958, allocations: 11.94 kB / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.1958, allocations: 11.94 kB / 0.7216 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.196, allocations: 103.6 kB / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.196, allocations: 0 / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.196, allocations: 0 / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.196, allocations: 4 kB / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004508/0.1965, allocations: 298 kB / 0.722 GB, free: 12.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1965, allocations: 8.031 kB / 0.722 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1966, allocations: 34.75 kB / 0.722 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1967, allocations: 16.88 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1969, allocations: 130.3 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1969, allocations: 4.375 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1969, allocations: 8.312 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1971, allocations: 57.81 kB / 0.7222 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1971, allocations: 0 / 0.7222 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1971, allocations: 0 / 0.7222 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1971, allocations: 0 / 0.7222 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1972, allocations: 27.97 kB / 0.7222 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.1976, allocations: 251.8 kB / 0.7225 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1977, allocations: 34.56 kB / 0.7225 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.1977, allocations: 16.91 kB / 0.7225 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.198, allocations: 35.97 kB / 0.7225 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.198, allocations: 30.56 kB / 0.7226 GB, free: 11.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.198, allocations: 0 / 0.7226 GB, free: 11.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002666/0.1983, allocations: 73.56 kB / 0.7226 GB, free: 11.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1984, allocations: 55.41 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1985, allocations: 128.8 kB / 0.7228 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1985, allocations: 25.7 kB / 0.7228 GB, free: 11.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.1985, allocations: 84.14 kB / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1986, allocations: 11.95 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1986, allocations: 9.719 kB / 0.7229 GB, free: 11.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1988, allocations: 326.9 kB / 0.7233 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.1988, allocations: 8 kB / 0.7233 GB, free: 10.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.1988, allocations: 7.984 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.1989, allocations: 32.84 kB / 0.7233 GB, free: 10.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1989, allocations: 4 kB / 0.7233 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.199, allocations: 53.62 kB / 0.7234 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.199, allocations: 4.094 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.199, allocations: 4 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1991, allocations: 4 kB / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.1991, allocations: 7.984 kB / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1991, allocations: 0 / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.1992, allocations: 7.891 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1992, allocations: 7.938 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.1993, allocations: 105.8 kB / 0.7235 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1993, allocations: 8 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.1995, allocations: 65.23 kB / 0.7236 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1995, allocations: 3.984 kB / 0.7236 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1995, allocations: 3.938 kB / 0.7236 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1995, allocations: 0 / 0.7236 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.1997, allocations: 144.7 kB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1997, allocations: 4 kB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.1997, allocations: 7.938 kB / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1997, allocations: 0 / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1998, allocations: 0 / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1998, allocations: 4.031 kB / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1998, allocations: 0 / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1999, allocations: 163.4 kB / 0.7239 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.2, allocations: 3.953 kB / 0.7239 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2, allocations: 0 / 0.7239 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.2, allocations: 7.938 kB / 0.7239 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.2001, allocations: 3.984 kB / 0.7239 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2001, allocations: 4.031 kB / 0.7239 GB, free: 10.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.2001, allocations: 103.2 kB / 0.724 GB, free: 9.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2001, allocations: 0 / 0.724 GB, free: 9.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002391/0.2004, allocations: 12 kB / 0.724 GB, free: 9.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006424/0.201, allocations: 0.689 MB / 0.7247 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.2012, allocations: 27.92 kB / 0.7247 GB, free: 9.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2012, allocations: 0 / 0.7247 GB, free: 9.238 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.2013, allocations: 15.98 kB / 0.7247 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.2015, allocations: 0 / 0.7247 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.203, allocations: 1.332 MB / 0.726 GB, free: 7.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.2033, allocations: 0.6807 MB / 0.7267 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.2034, allocations: 4.141 kB / 0.7267 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.2034, allocations: 19.44 kB / 0.7267 GB, free: 7.086 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2034, allocations: 0 / 0.7267 GB, free: 7.086 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.2378, allocations: 1.761 MB / 0.7284 GB, free: 5.453 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.89, allocations: 10.25 kB / 0.7284 GB, free: 5.449 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.732596603000275] Failed to read output from testmodel.py, exit status != 0: 10.996465501000785 11.012366 10.813342694 Calling exit ...