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.001754/0.001754, allocations: 105 kB / 20.49 MB, free: 1.488 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.002312/0.002312, allocations: 215.9 kB / 23.79 MB, free: 4.703 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.448/1.448, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.9697/0.9697, allocations: 150 MB / 464 MB, free: 10.52 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="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.00207/0.00207, allocations: 61.88 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1787, allocations: 89.17 MB / 0.7291 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002726/0.1814, allocations: 1.523 MB / 0.7306 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1827, allocations: 0.7478 MB / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.1828, allocations: 0 / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.1828, allocations: 3.938 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.1828, allocations: 15.92 kB / 0.7314 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.1832, allocations: 99.66 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.1833, allocations: 39.86 kB / 0.7315 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1834, allocations: 24.12 kB / 0.7315 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1835, allocations: 19.92 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.1836, allocations: 11.94 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1836, allocations: 4 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.1838, allocations: 115.9 kB / 0.7317 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1838, allocations: 11.94 kB / 0.7317 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.1839, allocations: 23.86 kB / 0.7317 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1841, allocations: 95.69 kB / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1841, allocations: 0 / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1841, allocations: 0 / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5e-06/0.1841, allocations: 0 / 0.7318 GB, free: 14.59 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.0004279/0.1845, allocations: 294 kB / 0.7321 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1845, allocations: 12.03 kB / 0.7321 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.39e-05/0.1846, allocations: 192 / 0.7321 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.1846, allocations: 34.75 kB / 0.7321 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1847, allocations: 20.88 kB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1849, allocations: 126.3 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1849, allocations: 4.375 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1849, allocations: 4.375 kB / 0.7323 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1851, allocations: 53.62 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1851, allocations: 0 / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1851, allocations: 3.984 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1851, allocations: 0 / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1852, allocations: 35.95 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.1856, allocations: 259.8 kB / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.1857, allocations: 26.58 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.1857, allocations: 20.91 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.186, allocations: 43.97 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.186, allocations: 34.56 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.186, allocations: 0 / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002458/0.1862, allocations: 69.61 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1863, allocations: 51.41 kB / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1864, allocations: 129.6 kB / 0.733 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1864, allocations: 29.83 kB / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.1865, allocations: 84.14 kB / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1865, allocations: 15.89 kB / 0.7331 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1865, allocations: 9.719 kB / 0.7331 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1866, allocations: 326.8 kB / 0.7334 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.1867, allocations: 4 kB / 0.7334 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.1867, allocations: 11.98 kB / 0.7334 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.12e-05/0.1868, allocations: 36.84 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1868, allocations: 0 / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001273/0.1869, allocations: 53.64 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.187, allocations: 4 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.187, allocations: 3.938 kB / 0.7335 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.187, allocations: 4 kB / 0.7335 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.1871, allocations: 7.984 kB / 0.7335 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1871, allocations: 0 / 0.7335 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.1871, allocations: 7.969 kB / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1871, allocations: 4 kB / 0.7335 GB, free: 12.61 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 7.839e-05/0.1872, allocations: 109.8 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1872, allocations: 11.94 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.1874, allocations: 61.19 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1874, allocations: 3.984 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1874, allocations: 0 / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1874, allocations: 3.938 kB / 0.7337 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.1876, allocations: 140.8 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1876, allocations: 4 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.1876, allocations: 4 kB / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1876, allocations: 0 / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1876, allocations: 0 / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1876, allocations: 0 / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1876, allocations: 0 / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1878, allocations: 167.4 kB / 0.734 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.1878, allocations: 0 / 0.734 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1878, allocations: 0 / 0.734 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.1879, allocations: 7.984 kB / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.1879, allocations: 0 / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1879, allocations: 7.938 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.568e-05/0.188, allocations: 99.27 kB / 0.7341 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.188, allocations: 0 / 0.7341 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000247/0.1883, allocations: 15.94 kB / 0.7341 GB, free: 11.91 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.0005509/0.1888, allocations: 0.6969 MB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1889, allocations: 31.91 kB / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1889, allocations: 0 / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.189, allocations: 16.09 kB / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1892, allocations: 6.438 kB / 0.7349 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1906, allocations: 1.32 MB / 0.7362 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.191, allocations: 0.6807 MB / 0.7368 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.191, allocations: 7.922 kB / 0.7368 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1911, allocations: 19.44 kB / 0.7368 GB, free: 9 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1911, allocations: 3.938 kB / 0.7369 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.2132, allocations: 1.778 MB / 0.7386 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.46, allocations: 9.406 kB / 0.7386 GB, free: 7.363 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.236018527997658] Failed to read output from testmodel.py, exit status != 0: 11.621563532971777 11.648777401 11.460499473 Calling exit ...