Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001262/0.001262, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00161/0.00161, allocations: 212.5 kB / 23.78 MB, free: 4.523 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9722/0.9722, allocations: 150 MB / 464 MB, free: 10.25 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00205/0.00205, allocations: 63.84 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1908, allocations: 89.18 MB / 0.7291 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001956/0.1928, allocations: 0.5746 MB / 0.7296 GB, free: 220 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1946, allocations: 1.276 MB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.1946, allocations: 0 / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.1946, allocations: 0 / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.1946, allocations: 0 / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.195, allocations: 71.75 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.299e-05/0.1951, allocations: 4 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.1951, allocations: 3.984 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.041e-05/0.1951, allocations: 11.88 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.1952, allocations: 0 / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1952, allocations: 3.984 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.1955, allocations: 115.8 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.1955, allocations: 3.984 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.1955, allocations: 0 / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1957, allocations: 64.14 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1957, allocations: 0 / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1957, allocations: 0 / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1957, allocations: 4 kB / 0.7312 GB, free: 14.64 MB / 0.5606 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.0003328/0.196, allocations: 258.2 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1961, allocations: 8.031 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.1961, allocations: 192 / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.1961, allocations: 34.75 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.1961, allocations: 0.9375 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.1962, allocations: 102.5 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1962, allocations: 384 / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.1962, allocations: 384 / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.177e-05/0.1963, allocations: 41.58 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1963, allocations: 4 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.1964, allocations: 3.938 kB / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1964, allocations: 0 / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.1964, allocations: 7.984 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1965, allocations: 112.8 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.1966, allocations: 18.61 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.1966, allocations: 8.859 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.1969, allocations: 39.97 kB / 0.7318 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1969, allocations: 42.55 kB / 0.7318 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1969, allocations: 0 / 0.7318 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.1971, allocations: 33.64 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1971, allocations: 51.41 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.993e-05/0.1972, allocations: 89.86 kB / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1972, allocations: 25.7 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.1972, allocations: 80.14 kB / 0.7321 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1973, allocations: 7.953 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.1973, allocations: 13.72 kB / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1974, allocations: 311 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.1975, allocations: 12 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-06/0.1975, allocations: 3.984 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.1975, allocations: 12.8 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1975, allocations: 0 / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.442e-05/0.1975, allocations: 33.64 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1976, allocations: 11.94 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1976, allocations: 0 / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1976, allocations: 0 / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.235e-05/0.1976, allocations: 0 / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1976, allocations: 4.094 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.1976, allocations: 4 kB / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1976, allocations: 4 kB / 0.7325 GB, free: 13.1 MB / 0.5606 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 7.67e-05/0.1977, allocations: 109.8 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1977, allocations: 3.938 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1978, allocations: 40.64 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1978, allocations: 3.984 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1978, allocations: 0 / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1978, allocations: 7.969 kB / 0.7326 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.198, allocations: 120.8 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.198, allocations: 0 / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.198, allocations: 7.938 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.198, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.198, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.198, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.198, allocations: 3.984 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.864e-05/0.1981, allocations: 61.12 kB / 0.7328 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.1981, allocations: 7.875 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1981, allocations: 8.031 kB / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.1981, allocations: 0 / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.1981, allocations: 0 / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.1981, allocations: 0 / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.1981, allocations: 75.28 kB / 0.7329 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1981, allocations: 0 / 0.7329 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002088/0.1984, allocations: 8 kB / 0.7329 GB, free: 12.57 MB / 0.5606 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.0004481/0.1988, allocations: 0.6162 MB / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.1989, allocations: 7.938 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1989, allocations: 4.094 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.1989, allocations: 0 / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.199, allocations: 0 / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.1993, allocations: 114.5 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.1994, allocations: 55.36 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.1994, allocations: 4 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1994, allocations: 7.438 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1994, allocations: 4.062 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.2202, allocations: 1.29 MB / 0.735 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.68, allocations: 5.219 kB / 0.735 GB, free: 10.53 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.453948004054837] Failed to read output from testmodel.py, exit status != 0: 11.84164838399738 11.871665475 11.670594249 Calling exit ...