Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.00135/0.00135, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001512/0.001512, allocations: 217.3 kB / 22.24 MB, free: 4.855 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 8.023 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.9278/0.9278, 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.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.002111/0.002111, allocations: 67.92 kB / 0.6331 GB, free: 6.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1904, allocations: 87.88 MB / 0.719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001866/0.1922, allocations: 0.5883 MB / 0.7195 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1941, allocations: 1.276 MB / 0.7208 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.1941, allocations: 0 / 0.7208 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1941, allocations: 0 / 0.7208 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1941, allocations: 0 / 0.7208 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1945, allocations: 75.75 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.1946, allocations: 0 / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.1946, allocations: 7.984 kB / 0.7209 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.1946, allocations: 3.984 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.1947, allocations: 0 / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.1947, allocations: 0 / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.195, allocations: 115.8 kB / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.195, allocations: 0 / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.195, allocations: 0 / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1952, allocations: 63.86 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1952, allocations: 3.938 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1952, allocations: 0 / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1952, allocations: 0 / 0.721 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003748/0.1956, allocations: 254.3 kB / 0.7213 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1956, allocations: 11.97 kB / 0.7213 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1957, allocations: 34.75 kB / 0.7213 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1957, allocations: 0.9375 kB / 0.7213 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1958, allocations: 102.5 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1958, allocations: 384 / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1958, allocations: 384 / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1959, allocations: 37.83 kB / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.196, allocations: 0 / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.196, allocations: 0 / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.196, allocations: 0 / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.196, allocations: 11.92 kB / 0.7215 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.1962, allocations: 116.8 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.1962, allocations: 18.61 kB / 0.7216 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.1962, allocations: 4.859 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.1966, allocations: 48.02 kB / 0.7216 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1966, allocations: 42.5 kB / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1966, allocations: 0 / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.1968, allocations: 41.62 kB / 0.7217 GB, free: 11.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1968, allocations: 51.41 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.1969, allocations: 89.86 kB / 0.7219 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1969, allocations: 25.7 kB / 0.7219 GB, free: 11.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.1969, allocations: 80.14 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.197, allocations: 4 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.197, allocations: 13.84 kB / 0.722 GB, free: 11.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1972, allocations: 310.8 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.1972, allocations: 4 kB / 0.7223 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.1972, allocations: 0 / 0.7223 GB, free: 11.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.1972, allocations: 16.84 kB / 0.7223 GB, free: 11.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1972, allocations: 3.938 kB / 0.7223 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.555e-05/0.1973, allocations: 33.64 kB / 0.7223 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1973, allocations: 7.938 kB / 0.7223 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1973, allocations: 4 kB / 0.7223 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1973, allocations: 4.094 kB / 0.7223 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.1973, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1973, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.1974, allocations: 3.938 kB / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1974, allocations: 4 kB / 0.7224 GB, free: 11.12 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 (1): * Single equations (assignments): 1 * 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 9.017e-05/0.1975, allocations: 109.8 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.1975, allocations: 3.938 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1976, allocations: 44.64 kB / 0.7225 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1976, allocations: 4.031 kB / 0.7225 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1976, allocations: 0 / 0.7225 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1976, allocations: 3.938 kB / 0.7225 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.1977, allocations: 116.8 kB / 0.7226 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1977, allocations: 0 / 0.7226 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.1977, allocations: 4 kB / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1977, allocations: 3.938 kB / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.1977, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1977, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1977, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.551e-05/0.1978, allocations: 61.12 kB / 0.7227 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.1978, allocations: 7.969 kB / 0.7227 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1978, allocations: 4 kB / 0.7227 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.1978, allocations: 0 / 0.7227 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1978, allocations: 3.938 kB / 0.7227 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1978, allocations: 0 / 0.7227 GB, free: 10.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.1979, allocations: 75.91 kB / 0.7228 GB, free: 10.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1979, allocations: 0 / 0.7228 GB, free: 10.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002165/0.1981, allocations: 12 kB / 0.7228 GB, free: 10.59 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 (1): * Single equations (assignments): 1 * 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.0004854/0.1986, allocations: 0.6232 MB / 0.7234 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.607e-05/0.1986, allocations: 8 kB / 0.7234 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1986, allocations: 3.938 kB / 0.7234 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.1987, allocations: 3.938 kB / 0.7234 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.1988, allocations: 4 kB / 0.7234 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.1991, allocations: 114.5 kB / 0.7235 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.1991, allocations: 55.36 kB / 0.7236 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.1992, allocations: 128 / 0.7236 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.1992, allocations: 11.44 kB / 0.7236 GB, free: 9.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1992, allocations: 0 / 0.7236 GB, free: 9.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.2274, allocations: 1.635 MB / 0.7252 GB, free: 8.168 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 11.06 kB / 0.7252 GB, free: 8.164 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.932202967815101] Failed to read output from testmodel.py, exit status != 0: 11.3780750609003 11.40668352 11.20662422 Calling exit ...