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.001937/0.001937, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002612/0.002612, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.781 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.004142/0.004142, allocations: 284.9 kB / 312.7 MB, free: 2.578 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.328/1.328, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",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.004074/0.004074, allocations: 106.8 kB / 0.7395 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.206, allocations: 95.38 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.003229/0.2093, allocations: 1.52 MB / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2106, allocations: 0.6764 MB / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.2106, allocations: 0 / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.2107, allocations: 7.922 kB / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.2107, allocations: 15.88 kB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2111, allocations: 91.67 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2112, allocations: 47.77 kB / 0.835 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.2113, allocations: 16.22 kB / 0.835 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.2114, allocations: 19.92 kB / 0.835 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.2114, allocations: 15.92 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2115, allocations: 4 kB / 0.835 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.2117, allocations: 107.9 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2117, allocations: 11.98 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.2117, allocations: 19.86 kB / 0.8351 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.2119, allocations: 95.7 kB / 0.8352 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2119, allocations: 0 / 0.8352 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2119, allocations: 0 / 0.8352 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2119, allocations: 0 / 0.8352 GB, free: 5.66 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.0004841/0.2124, allocations: 294 kB / 0.8355 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2124, allocations: 13.34 kB / 0.8355 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.2125, allocations: 30.75 kB / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.2126, allocations: 20.81 kB / 0.8356 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.2129, allocations: 126.4 kB / 0.8357 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2129, allocations: 8.359 kB / 0.8357 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2129, allocations: 4.375 kB / 0.8357 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2131, allocations: 57.8 kB / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.2131, allocations: 0 / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2131, allocations: 4 kB / 0.8358 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2131, allocations: 0 / 0.8358 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.2132, allocations: 27.92 kB / 0.8358 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.2136, allocations: 243.9 kB / 0.836 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.2137, allocations: 30.58 kB / 0.8361 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.2137, allocations: 12.91 kB / 0.8361 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.2139, allocations: 35.97 kB / 0.8361 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.214, allocations: 38.5 kB / 0.8361 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.214, allocations: 0 / 0.8361 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002427/0.2142, allocations: 69.72 kB / 0.8362 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2143, allocations: 51.41 kB / 0.8363 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2144, allocations: 127.8 kB / 0.8364 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2144, allocations: 25.7 kB / 0.8364 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.2144, allocations: 88.14 kB / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2144, allocations: 11.89 kB / 0.8365 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.2145, allocations: 17.64 kB / 0.8365 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2146, allocations: 322.8 kB / 0.8368 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.2147, allocations: 7.984 kB / 0.8368 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.2147, allocations: 15.94 kB / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.2148, allocations: 32.88 kB / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2148, allocations: 4 kB / 0.8369 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.2149, allocations: 49.69 kB / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2149, allocations: 8 kB / 0.8369 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2149, allocations: 3.984 kB / 0.8369 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2149, allocations: 0 / 0.8369 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.215, allocations: 4 kB / 0.8369 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.215, allocations: 0 / 0.8369 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.215, allocations: 11.98 kB / 0.8369 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.215, allocations: 3.938 kB / 0.837 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 8.394e-05/0.2151, allocations: 118.5 kB / 0.8371 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.2151, allocations: 0 / 0.8371 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.2153, allocations: 69.23 kB / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2153, allocations: 0 / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2153, allocations: 0 / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2153, allocations: 0 / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.2155, allocations: 132.7 kB / 0.8373 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2155, allocations: 4.031 kB / 0.8373 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.2155, allocations: 11.97 kB / 0.8373 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2155, allocations: 0 / 0.8373 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.2155, allocations: 4 kB / 0.8373 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2155, allocations: 0 / 0.8373 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2155, allocations: 0 / 0.8373 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2157, allocations: 159.4 kB / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.2157, allocations: 7.938 kB / 0.8374 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2158, allocations: 0 / 0.8374 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.2158, allocations: 8.031 kB / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.2158, allocations: 0 / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2158, allocations: 0 / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.879e-05/0.2159, allocations: 104.1 kB / 0.8375 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2159, allocations: 0 / 0.8375 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000233/0.2162, allocations: 15.94 kB / 0.8376 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.0005725/0.2167, allocations: 0.7007 MB / 0.8382 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.2169, allocations: 24.02 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2169, allocations: 0 / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.2169, allocations: 15.98 kB / 0.8383 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2171, allocations: 7.938 kB / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.2185, allocations: 1.327 MB / 0.8396 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.2186, allocations: 67.45 kB / 0.8396 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.2186, allocations: 8 kB / 0.8397 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.2187, allocations: 11.44 kB / 0.8397 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.2187, allocations: 0 / 0.8397 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.2472, allocations: 2.178 MB / 0.8418 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.53, allocations: 10.3 kB / 0.8418 GB, free: 14.66 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 16.104883790016174] Failed to read output from testmodel.py, exit status != 0: 11.632849966175854 11.649993654 11.43421646 Calling exit ...