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.001342/0.001342, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.0015/0.0015, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002356/0.002356, allocations: 281.5 kB / 309.8 MB, free: 3.539 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.042/1.042, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.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.003088/0.003088, allocations: 95.84 kB / 0.7347 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.5599, allocations: 95.34 MB / 0.8278 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002502/0.5624, allocations: 1.528 MB / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.5634, allocations: 0.7494 MB / 0.83 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.5635, allocations: 3.938 kB / 0.83 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.5635, allocations: 5.25 kB / 0.83 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.5636, allocations: 9.297 kB / 0.83 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.5639, allocations: 94.64 kB / 0.8301 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.564, allocations: 45.5 kB / 0.8302 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.5641, allocations: 15.09 kB / 0.8302 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.5642, allocations: 17.84 kB / 0.8302 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.5642, allocations: 20.78 kB / 0.8302 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.5643, allocations: 2.438 kB / 0.8302 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.5645, allocations: 116.1 kB / 0.8303 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.5645, allocations: 6.609 kB / 0.8303 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.5645, allocations: 17.17 kB / 0.8303 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.5647, allocations: 103.4 kB / 0.8304 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5647, allocations: 2.438 kB / 0.8304 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5647, allocations: 0 / 0.8304 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.5647, allocations: 0 / 0.8304 GB, free: 1.234 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.0003633/0.565, allocations: 379.1 kB / 0.8308 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5651, allocations: 9.469 kB / 0.8308 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.15e-05/0.5651, allocations: 1.656 kB / 0.8308 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.049e-05/0.5651, allocations: 38.28 kB / 0.8309 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.5653, allocations: 14.64 kB / 0.8309 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.5654, allocations: 182.2 kB / 0.831 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.5654, allocations: 8.375 kB / 0.831 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.5654, allocations: 3.219 kB / 0.8311 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.5656, allocations: 60.84 kB / 0.8311 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5656, allocations: 0 / 0.8311 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.5656, allocations: 2.5 kB / 0.8311 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.5656, allocations: 0.6562 kB / 0.8311 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.5657, allocations: 22.8 kB / 0.8311 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.5659, allocations: 284.7 kB / 0.8314 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.566, allocations: 35.03 kB / 0.8314 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.5661, allocations: 20.09 kB / 0.8315 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/0.5665, allocations: 0.5564 MB / 0.832 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5666, allocations: 35.72 kB / 0.832 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5666, allocations: 0 / 0.832 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002646/0.5668, allocations: 74.95 kB / 0.8321 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.5669, allocations: 52.2 kB / 0.8322 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.567, allocations: 126.7 kB / 0.8323 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.567, allocations: 29.64 kB / 0.8323 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.5671, allocations: 89.64 kB / 0.8324 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5671, allocations: 7.438 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.5671, allocations: 13.09 kB / 0.8324 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5673, allocations: 324.6 kB / 0.8327 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.5673, allocations: 14.16 kB / 0.8327 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.5673, allocations: 7.875 kB / 0.8327 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.5674, allocations: 28.69 kB / 0.8328 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5674, allocations: 0 / 0.8328 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001248/0.5676, allocations: 52.03 kB / 0.8328 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5676, allocations: 12.22 kB / 0.8328 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5676, allocations: 0.5625 kB / 0.8328 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5676, allocations: 2.594 kB / 0.8328 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.5677, allocations: 4.266 kB / 0.8328 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5677, allocations: 0.5156 kB / 0.8328 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.5677, allocations: 12.45 kB / 0.8329 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5677, allocations: 4.609 kB / 0.8329 GB, free: 14.73 MB / 0.5919 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 9.46e-05/0.5678, allocations: 112.6 kB / 0.833 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.5678, allocations: 7.422 kB / 0.833 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.568, allocations: 65.05 kB / 0.833 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.568, allocations: 3.188 kB / 0.833 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.568, allocations: 0 / 0.833 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.568, allocations: 4.688 kB / 0.833 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.5682, allocations: 164.8 kB / 0.8332 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5682, allocations: 0 / 0.8332 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.5683, allocations: 8.594 kB / 0.8332 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5683, allocations: 0 / 0.8332 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5683, allocations: 4.734 kB / 0.8332 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5683, allocations: 0 / 0.8332 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5683, allocations: 3.938 kB / 0.8332 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.5685, allocations: 155.8 kB / 0.8334 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.5685, allocations: 88.02 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.5685, allocations: 4.609 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.5686, allocations: 3.219 kB / 0.8335 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.5686, allocations: 6.578 kB / 0.8335 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.5686, allocations: 3.938 kB / 0.8335 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.5687, allocations: 96.25 kB / 0.8336 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5687, allocations: 0 / 0.8336 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002387/0.5689, allocations: 15.95 kB / 0.8336 GB, free: 14.02 MB / 0.5919 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.0005896/0.5695, allocations: 0.6938 MB / 0.8342 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.5697, allocations: 29.84 kB / 0.8343 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5697, allocations: 0 / 0.8343 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.845e-05/0.5697, allocations: 9.297 kB / 0.8343 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.57, allocations: 12.42 kB / 0.8343 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5715, allocations: 1.321 MB / 0.8356 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.5718, allocations: 0.6818 MB / 0.8363 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.5719, allocations: 8.031 kB / 0.8363 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.5719, allocations: 15.84 kB / 0.8363 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.5719, allocations: 0 / 0.8363 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.5899, allocations: 1.698 MB / 0.8379 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.457/9.047, allocations: 10.5 kB / 0.8379 GB, free: 10.97 MB / 0.5919 GB " [Timeout remaining time 651] (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: 13.023123210004997] Failed to read output from testmodel.py, exit status != 0: 9.173243833996821 9.200469333 8.630920737 Calling exit ...