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.001481/0.001481, allocations: 118 kB / 17.84 MB, free: 5.234 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.001531/0.001531, allocations: 203.8 kB / 20.79 MB, free: 2.297 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.577/1.577, allocations: 230.6 MB / 254.2 MB, free: 15.11 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 1.128/1.128, allocations: 150 MB / 460.2 MB, free: 5.301 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",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.002018/0.002018, allocations: 79.34 kB / 0.6368 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 89.13 MB / 0.7239 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.003449/0.1888, allocations: 1.512 MB / 0.7253 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1902, allocations: 0.7497 MB / 0.7261 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.1903, allocations: 3.938 kB / 0.7261 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.1903, allocations: 3.938 kB / 0.7261 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.1904, allocations: 3.938 kB / 0.7261 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1908, allocations: 103.6 kB / 0.7262 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1909, allocations: 39.84 kB / 0.7262 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.191, allocations: 12.22 kB / 0.7262 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1911, allocations: 23.92 kB / 0.7262 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.1912, allocations: 19.92 kB / 0.7263 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1912, allocations: 7.938 kB / 0.7263 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.1915, allocations: 115.9 kB / 0.7264 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1915, allocations: 7.938 kB / 0.7264 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.1915, allocations: 19.86 kB / 0.7264 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.1918, allocations: 95.77 kB / 0.7265 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1918, allocations: 0 / 0.7265 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1918, allocations: 4 kB / 0.7265 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1918, allocations: 0 / 0.7265 GB, free: 1.32 MB / 0.5294 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.0006175/0.1924, allocations: 379 kB / 0.7269 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1925, allocations: 8.031 kB / 0.7269 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.1925, allocations: 192 / 0.7269 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.1925, allocations: 38.75 kB / 0.7269 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1927, allocations: 16.88 kB / 0.7269 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.193, allocations: 180.2 kB / 0.7271 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.193, allocations: 4.375 kB / 0.7271 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.193, allocations: 4.375 kB / 0.7271 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1932, allocations: 61.61 kB / 0.7272 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.1932, allocations: 0 / 0.7272 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.1932, allocations: 0 / 0.7272 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1932, allocations: 0 / 0.7272 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1933, allocations: 27.97 kB / 0.7272 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1937, allocations: 284.7 kB / 0.7275 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1938, allocations: 34.56 kB / 0.7275 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.1939, allocations: 16.92 kB / 0.7275 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.1944, allocations: 0.5544 MB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1945, allocations: 38.56 kB / 0.7281 GB, free: 15.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1945, allocations: 0 / 0.7281 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002581/0.1947, allocations: 65.61 kB / 0.7281 GB, free: 15.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1948, allocations: 51.41 kB / 0.7282 GB, free: 15.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1949, allocations: 128.5 kB / 0.7283 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1949, allocations: 25.7 kB / 0.7283 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.195, allocations: 92.12 kB / 0.7284 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.195, allocations: 7.891 kB / 0.7284 GB, free: 15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.195, allocations: 13.72 kB / 0.7285 GB, free: 14.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1952, allocations: 330.8 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.1952, allocations: 8 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.1953, allocations: 11.98 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.271e-05/0.1953, allocations: 20.86 kB / 0.7288 GB, free: 14.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1953, allocations: 0 / 0.7288 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001462/0.1955, allocations: 65.62 kB / 0.7289 GB, free: 14.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1955, allocations: 12.03 kB / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1955, allocations: 0 / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1955, allocations: 3.938 kB / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.1956, allocations: 4 kB / 0.7289 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1956, allocations: 0 / 0.7289 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.1956, allocations: 11.92 kB / 0.7289 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1956, allocations: 0 / 0.7289 GB, free: 14.5 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 8.56e-05/0.1957, allocations: 105.8 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1958, allocations: 11.95 kB / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.1959, allocations: 65.14 kB / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1959, allocations: 0 / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1959, allocations: 4 kB / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1959, allocations: 3.938 kB / 0.7291 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.1961, allocations: 165.7 kB / 0.7292 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1961, allocations: 4 kB / 0.7292 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.1962, allocations: 7.984 kB / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1962, allocations: 0 / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1962, allocations: 4.031 kB / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1962, allocations: 0 / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1962, allocations: 0 / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.1964, allocations: 159.4 kB / 0.7294 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.1964, allocations: 77.11 kB / 0.7295 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1964, allocations: 4 kB / 0.7295 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.1965, allocations: 3.938 kB / 0.7295 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.1965, allocations: 4.031 kB / 0.7295 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1965, allocations: 7.938 kB / 0.7295 GB, free: 13.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.913e-05/0.1966, allocations: 91.27 kB / 0.7296 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 0 / 0.7296 GB, free: 13.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002433/0.1969, allocations: 23.92 kB / 0.7296 GB, free: 13.67 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.0005548/0.1974, allocations: 0.6969 MB / 0.7303 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1975, allocations: 27.92 kB / 0.7303 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1976, allocations: 0 / 0.7303 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.1976, allocations: 11.98 kB / 0.7303 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1978, allocations: 15.88 kB / 0.7303 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1993, allocations: 1.32 MB / 0.7316 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1996, allocations: 0.6845 MB / 0.7323 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.639e-05/0.1996, allocations: 4 kB / 0.7323 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.1997, allocations: 15.42 kB / 0.7323 GB, free: 10.76 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1997, allocations: 0 / 0.7323 GB, free: 10.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.2181, allocations: 1.68 MB / 0.734 GB, free: 9.188 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.455, allocations: 20.89 kB / 0.734 GB, free: 9.176 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.634580904967152] Failed to read output from testmodel.py, exit status != 0: 8.579089973005466 8.598045886 8.401826838 Calling exit ...