Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001343/0.001343, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001947/0.001947, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002527/0.002527, allocations: 281.4 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.243/1.243, allocations: 180.6 MB / 0.5377 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002804/0.002804, allocations: 101.3 kB / 0.7403 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1917, allocations: 95.39 MB / 0.8334 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.00324/0.195, allocations: 1.516 MB / 0.8349 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1963, allocations: 0.6841 MB / 0.8356 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.1964, allocations: 4 kB / 0.8356 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.2e-05/0.1964, allocations: 3.938 kB / 0.8356 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.1965, allocations: 7.875 kB / 0.8356 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.1969, allocations: 99.64 kB / 0.8357 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1971, allocations: 39.86 kB / 0.8357 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1972, allocations: 16.2 kB / 0.8357 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1973, allocations: 19.92 kB / 0.8357 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.1974, allocations: 23.86 kB / 0.8358 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1974, allocations: 4 kB / 0.8358 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.1976, allocations: 123.9 kB / 0.8359 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.1977, allocations: 4 kB / 0.8359 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.1977, allocations: 15.92 kB / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1979, allocations: 91.7 kB / 0.836 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1979, allocations: 11.92 kB / 0.836 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1979, allocations: 0 / 0.836 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1979, allocations: 0 / 0.836 GB, free: 5.664 MB / 0.5762 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.0005446/0.1985, allocations: 294 kB / 0.8363 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1985, allocations: 9.344 kB / 0.8363 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.464e-05/0.1985, allocations: 8.188 kB / 0.8363 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.1986, allocations: 34.75 kB / 0.8363 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.1987, allocations: 20.81 kB / 0.8364 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1989, allocations: 118.4 kB / 0.8365 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1989, allocations: 8.375 kB / 0.8365 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.199, allocations: 384 / 0.8365 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1991, allocations: 57.62 kB / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1991, allocations: 3.938 kB / 0.8365 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1991, allocations: 0 / 0.8365 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1992, allocations: 0 / 0.8365 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.783e-05/0.1993, allocations: 31.97 kB / 0.8366 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.1996, allocations: 243.9 kB / 0.8368 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.1997, allocations: 34.5 kB / 0.8368 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.1998, allocations: 16.91 kB / 0.8368 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.2, allocations: 31.97 kB / 0.8369 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2001, allocations: 34.56 kB / 0.8369 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.2001, allocations: 4 kB / 0.8369 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002589/0.2003, allocations: 65.62 kB / 0.837 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.2004, allocations: 51.41 kB / 0.837 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2005, allocations: 126.1 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2005, allocations: 29.7 kB / 0.8372 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.2006, allocations: 92.08 kB / 0.8373 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2006, allocations: 7.891 kB / 0.8373 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.2007, allocations: 21.66 kB / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2008, allocations: 318.9 kB / 0.8376 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.2009, allocations: 12 kB / 0.8376 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.2009, allocations: 11.98 kB / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.201, allocations: 24.84 kB / 0.8376 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.201, allocations: 4 kB / 0.8376 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000123/0.2011, allocations: 53.69 kB / 0.8377 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2011, allocations: 4 kB / 0.8377 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2011, allocations: 0 / 0.8377 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2012, allocations: 4.094 kB / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.2012, allocations: 11.92 kB / 0.8377 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2012, allocations: 0 / 0.8377 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.2013, allocations: 15.89 kB / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2013, allocations: 0 / 0.8377 GB, free: 3.703 MB / 0.5762 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 0.0001034/0.2014, allocations: 110.5 kB / 0.8378 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.2014, allocations: 3.938 kB / 0.8378 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.2016, allocations: 69.28 kB / 0.8379 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2016, allocations: 0 / 0.8379 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2016, allocations: 4.031 kB / 0.8379 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2016, allocations: 3.938 kB / 0.8379 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.2018, allocations: 132.7 kB / 0.838 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2018, allocations: 0 / 0.838 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.2018, allocations: 8 kB / 0.838 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2018, allocations: 0 / 0.838 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2018, allocations: 4 kB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2018, allocations: 3.938 kB / 0.8381 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2018, allocations: 0 / 0.8381 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.202, allocations: 159.4 kB / 0.8382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.202, allocations: 3.953 kB / 0.8382 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2021, allocations: 4 kB / 0.8382 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.2021, allocations: 7.984 kB / 0.8382 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.2021, allocations: 3.984 kB / 0.8382 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2022, allocations: 3.938 kB / 0.8382 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.194e-05/0.2022, allocations: 96.52 kB / 0.8383 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2022, allocations: 0 / 0.8383 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002302/0.2025, allocations: 15.94 kB / 0.8383 GB, free: 3.004 MB / 0.5762 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.0005841/0.203, allocations: 0.7007 MB / 0.839 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.2032, allocations: 19.98 kB / 0.839 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2032, allocations: 0 / 0.839 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.2032, allocations: 8 kB / 0.839 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2035, allocations: 22.22 kB / 0.8391 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.205, allocations: 1.325 MB / 0.8404 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.059e-05/0.2051, allocations: 67.34 kB / 0.8404 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.2051, allocations: 3.984 kB / 0.8404 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.2051, allocations: 19.38 kB / 0.8404 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2051, allocations: 0 / 0.8404 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.2273, allocations: 1.823 MB / 0.8422 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.49, allocations: 8.594 kB / 0.8422 GB, free: 15.04 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.715728275012225] Failed to read output from testmodel.py, exit status != 0: 11.644578312058002 11.661729607 11.460637272 Calling exit ...