Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001338/0.001338, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.00156/0.00156, allocations: 225 kB / 23.01 MB, free: 5.043 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9924/0.9924, allocations: 150 MB / 463.2 MB, free: 10.48 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.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",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.002283/0.002283, allocations: 66.28 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1961, allocations: 89.17 MB / 0.7284 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002997/0.1991, allocations: 1.522 MB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2004, allocations: 0.7595 MB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.2005, allocations: 4 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2005, allocations: 3.938 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.2006, allocations: 3.938 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.201, allocations: 99.66 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2011, allocations: 47.8 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.2012, allocations: 16.2 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.2013, allocations: 19.92 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.2013, allocations: 15.92 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2014, allocations: 4 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.2016, allocations: 111.9 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.2016, allocations: 11.92 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.2017, allocations: 15.94 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.2019, allocations: 95.69 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2019, allocations: 0 / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2019, allocations: 4 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2019, allocations: 0 / 0.731 GB, free: 14.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000453/0.2023, allocations: 294 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2024, allocations: 12.03 kB / 0.7313 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.2024, allocations: 34.73 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2026, allocations: 20.83 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.2028, allocations: 122.4 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2028, allocations: 384 / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.2028, allocations: 12.38 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.203, allocations: 57.78 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.203, allocations: 0 / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.203, allocations: 4 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.203, allocations: 0 / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.2031, allocations: 27.92 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.2035, allocations: 251.8 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.2036, allocations: 38.56 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.2036, allocations: 12.92 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.2039, allocations: 43.95 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.2039, allocations: 38.5 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2039, allocations: 4 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002564/0.2042, allocations: 57.69 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.2042, allocations: 59.33 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2043, allocations: 125.7 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2044, allocations: 29.7 kB / 0.7322 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.2044, allocations: 84.14 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2044, allocations: 11.88 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.2045, allocations: 21.84 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2046, allocations: 314.8 kB / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.2047, allocations: 15.98 kB / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.2047, allocations: 4 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.165e-05/0.2048, allocations: 28.78 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2048, allocations: 4 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001366/0.2049, allocations: 65.69 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.205, allocations: 5.875 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.205, allocations: 0 / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.205, allocations: 4 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.205, allocations: 4 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.205, allocations: 0 / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.2051, allocations: 3.984 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2051, allocations: 7.938 kB / 0.7328 GB, free: 12.54 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 (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 8.789e-05/0.2052, allocations: 107.8 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.2052, allocations: 11.98 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.2054, allocations: 73.17 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2054, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2054, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2054, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.2056, allocations: 140.7 kB / 0.7331 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2056, allocations: 3.984 kB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.2056, allocations: 11.98 kB / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2057, allocations: 0 / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2057, allocations: 4.031 kB / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2057, allocations: 0 / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2057, allocations: 0 / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.2058, allocations: 159.4 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.2059, allocations: 3.984 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2059, allocations: 0 / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.2059, allocations: 4.031 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.206, allocations: 4 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.206, allocations: 0 / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.556e-05/0.206, allocations: 103.2 kB / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.206, allocations: 0 / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002622/0.2063, allocations: 19.92 kB / 0.7334 GB, free: 11.83 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 (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.0005778/0.2069, allocations: 0.7075 MB / 0.7341 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.207, allocations: 23.98 kB / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.207, allocations: 0 / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.2071, allocations: 11.98 kB / 0.7341 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2073, allocations: 4 kB / 0.7341 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2087, allocations: 1.319 MB / 0.7354 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.209, allocations: 0.6846 MB / 0.7361 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.2091, allocations: 4 kB / 0.7361 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.2091, allocations: 15.44 kB / 0.7361 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2091, allocations: 7.938 kB / 0.7361 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.2385, allocations: 1.746 MB / 0.7378 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 4.234 kB / 0.7378 GB, free: 7.316 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.973675201879814] Failed to read output from testmodel.py, exit status != 0: 11.326536949025467 11.342276441 11.13718359 Calling exit ...