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.001503/0.001503, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001632/0.001632, allocations: 161.4 kB / 23.01 MB, free: 4.602 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.352/1.352, allocations: 177.2 MB / 203.4 MB, free: 8.926 MB / 190.1 MB " [Timeout remaining time 179] 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.002318/0.002318, allocations: 234.5 kB / 260 MB, free: 452 kB / 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 0.8848/0.8848, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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: translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") [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.002975/0.002975, allocations: 97.89 kB / 0.6473 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3753, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.00244/0.3778, allocations: 1.521 MB / 0.7419 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3789, allocations: 0.685 MB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.3789, allocations: 5 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.379, allocations: 4.875 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.379, allocations: 5.406 kB / 0.7426 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.3794, allocations: 102.8 kB / 0.7427 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3795, allocations: 32.47 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3797, allocations: 11.38 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3798, allocations: 21.55 kB / 0.7428 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.3799, allocations: 24.48 kB / 0.7428 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3799, allocations: 2.906 kB / 0.7428 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.3802, allocations: 111.6 kB / 0.7429 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.3802, allocations: 7.922 kB / 0.7429 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.3802, allocations: 17.42 kB / 0.7429 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3805, allocations: 96.59 kB / 0.743 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3805, allocations: 0 / 0.743 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3805, allocations: 0 / 0.743 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3805, allocations: 2.406 kB / 0.743 GB, free: 15.75 MB / 0.5919 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.000372/0.3808, allocations: 301.7 kB / 0.7433 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3809, allocations: 10.53 kB / 0.7433 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.381, allocations: 20.48 kB / 0.7434 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3812, allocations: 123.7 kB / 0.7435 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3812, allocations: 1.688 kB / 0.7435 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3812, allocations: 7.094 kB / 0.7435 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3813, allocations: 61.42 kB / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3813, allocations: 0 / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3813, allocations: 0.9688 kB / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3814, allocations: 1.656 kB / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.3814, allocations: 30.69 kB / 0.7436 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.3817, allocations: 223.5 kB / 0.7438 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.269e-05/0.3818, allocations: 35.16 kB / 0.7438 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.3818, allocations: 16.86 kB / 0.7438 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.382, allocations: 33.33 kB / 0.7439 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.382, allocations: 36.06 kB / 0.7439 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.382, allocations: 0 / 0.7439 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002216/0.3823, allocations: 66.25 kB / 0.744 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.3823, allocations: 53.19 kB / 0.744 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.3823, allocations: 112.6 kB / 0.7441 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.3824, allocations: 26.36 kB / 0.7441 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.3824, allocations: 93.42 kB / 0.7442 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.3824, allocations: 4.562 kB / 0.7442 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.3824, allocations: 14.41 kB / 0.7443 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.3825, allocations: 321.8 kB / 0.7446 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.3825, allocations: 7.5 kB / 0.7446 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.3825, allocations: 15.3 kB / 0.7446 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/0.3826, allocations: 26.88 kB / 0.7446 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3826, allocations: 0 / 0.7446 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.3827, allocations: 54.48 kB / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3827, allocations: 7 kB / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3827, allocations: 0 / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3828, allocations: 0 / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.3828, allocations: 11.36 kB / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3828, allocations: 3.938 kB / 0.7447 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.3829, allocations: 4.203 kB / 0.7447 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3829, allocations: 3.984 kB / 0.7447 GB, free: 14.2 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 4.197e-05/0.3829, allocations: 121.1 kB / 0.7448 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3829, allocations: 7.547 kB / 0.7448 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3831, allocations: 61.22 kB / 0.7449 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3831, allocations: 0 / 0.7449 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3831, allocations: 1.375 kB / 0.7449 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3831, allocations: 4.547 kB / 0.7449 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.72e-05/0.3832, allocations: 117.5 kB / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3832, allocations: 0.7031 kB / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.3832, allocations: 5.531 kB / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3832, allocations: 0 / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.3832, allocations: 1.984 kB / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3832, allocations: 0 / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3832, allocations: 2.172 kB / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3833, allocations: 155.2 kB / 0.7451 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.3834, allocations: 11.39 kB / 0.7452 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3834, allocations: 4 kB / 0.7452 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.3834, allocations: 2.828 kB / 0.7452 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.3835, allocations: 2.828 kB / 0.7452 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3835, allocations: 1.375 kB / 0.7452 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.3835, allocations: 92.62 kB / 0.7453 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3835, allocations: 0 / 0.7453 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002447/0.3837, allocations: 16.92 kB / 0.7453 GB, free: 13.64 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.000121/0.3839, allocations: 106.8 kB / 0.7454 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.384, allocations: 27.27 kB / 0.7454 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.384, allocations: 0 / 0.7454 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.384, allocations: 15.05 kB / 0.7454 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3842, allocations: 5.25 kB / 0.7454 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.3845, allocations: 137.7 kB / 0.7455 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.3845, allocations: 66.77 kB / 0.7456 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.3846, allocations: 10.3 kB / 0.7456 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.3846, allocations: 9.938 kB / 0.7456 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.3846, allocations: 0 / 0.7456 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.002892/0.3875, allocations: 0.5121 MB / 0.7461 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.446790455025621] Failed to read output from testmodel.py, exit status != 0: 0.3948989139171317 0.40545066700000004 0.022454057000000003 Calling exit ...