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.0007556/0.0007556, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007314/0.0007314, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8768/0.8768, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 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.00141/0.00141, allocations: 222.2 kB / 260.2 MB, free: 13.03 MB / 250.7 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.6812/0.6812, allocations: 138.4 MB / 455.1 MB, free: 29.99 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6475 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.691e-05, allocations: 13.31 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.2265/0.2266, allocations: 1.496 MB / 0.649 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2276, allocations: 0.6867 MB / 0.6497 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.2277, allocations: 4.906 kB / 0.6497 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.2277, allocations: 6.547 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.2277, allocations: 4.109 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.2281, allocations: 105.4 kB / 0.6498 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2282, allocations: 41.47 kB / 0.6498 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2283, allocations: 14.2 kB / 0.6498 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2285, allocations: 23.95 kB / 0.6499 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.2285, allocations: 16.56 kB / 0.6499 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2285, allocations: 2.75 kB / 0.6499 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.2287, allocations: 110.5 kB / 0.65 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.2287, allocations: 10.16 kB / 0.65 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.2287, allocations: 11.89 kB / 0.65 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.2289, allocations: 113.8 kB / 0.6501 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2289, allocations: 1.844 kB / 0.6501 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2289, allocations: 0 / 0.6501 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2289, allocations: 0.875 kB / 0.6501 GB, free: 56.11 MB / 0.5573 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.0003403/0.2293, allocations: 291.3 kB / 0.6504 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2293, allocations: 11.28 kB / 0.6504 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.2294, allocations: 21.47 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.2296, allocations: 120.5 kB / 0.6505 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.2296, allocations: 1.875 kB / 0.6505 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2296, allocations: 4.688 kB / 0.6505 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2298, allocations: 52.56 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2298, allocations: 1.156 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2298, allocations: 1.75 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2298, allocations: 5.172 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/0.2298, allocations: 29.83 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.2301, allocations: 222.3 kB / 0.6508 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/0.2301, allocations: 34.23 kB / 0.6509 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.2302, allocations: 16.72 kB / 0.6509 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.2303, allocations: 45.03 kB / 0.6509 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.2304, allocations: 37.05 kB / 0.651 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2304, allocations: 2.281 kB / 0.651 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.2305, allocations: 59.92 kB / 0.651 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.2306, allocations: 56.78 kB / 0.6511 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.2306, allocations: 111.4 kB / 0.6512 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.2306, allocations: 26.48 kB / 0.6512 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.2306, allocations: 92.05 kB / 0.6513 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2307, allocations: 5.344 kB / 0.6513 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.2307, allocations: 17.5 kB / 0.6513 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.13e-05/0.2307, allocations: 314.3 kB / 0.6516 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.2307, allocations: 11.19 kB / 0.6516 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.2308, allocations: 16.06 kB / 0.6517 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.2308, allocations: 30.53 kB / 0.6517 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2308, allocations: 0 / 0.6517 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.376e-05/0.2309, allocations: 56.36 kB / 0.6517 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2309, allocations: 6.219 kB / 0.6517 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2309, allocations: 0 / 0.6517 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2309, allocations: 2.422 kB / 0.6517 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.231, allocations: 6.031 kB / 0.6517 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.231, allocations: 2.062 kB / 0.6518 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.231, allocations: 4.438 kB / 0.6518 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.231, allocations: 1.594 kB / 0.6518 GB, free: 54.68 MB / 0.5573 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.058e-05/0.231, allocations: 118.2 kB / 0.6519 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.2311, allocations: 11.67 kB / 0.6519 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.2312, allocations: 62.72 kB / 0.6519 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2312, allocations: 0.75 kB / 0.6519 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2312, allocations: 0.6562 kB / 0.6519 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2312, allocations: 0.75 kB / 0.6519 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.778e-05/0.2313, allocations: 109.4 kB / 0.652 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2313, allocations: 0 / 0.652 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.2313, allocations: 14.33 kB / 0.6521 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2313, allocations: 0.6562 kB / 0.6521 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2313, allocations: 1.656 kB / 0.6521 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2313, allocations: 3.781 kB / 0.6521 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2313, allocations: 1.516 kB / 0.6521 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.972e-05/0.2314, allocations: 150.7 kB / 0.6522 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.2314, allocations: 12.86 kB / 0.6522 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2314, allocations: 1.828 kB / 0.6522 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.2315, allocations: 2.672 kB / 0.6522 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.2315, allocations: 4.484 kB / 0.6522 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.2315, allocations: 2.969 kB / 0.6522 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.428e-05/0.2315, allocations: 87.62 kB / 0.6523 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2315, allocations: 0.8438 kB / 0.6523 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001662/0.2317, allocations: 16.7 kB / 0.6523 GB, free: 54.18 MB / 0.5573 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.0001495/0.2318, allocations: 113.4 kB / 0.6524 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.2319, allocations: 26.08 kB / 0.6525 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2319, allocations: 3.938 kB / 0.6525 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.232, allocations: 15.97 kB / 0.6525 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.2321, allocations: 0.625 kB / 0.6525 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.2324, allocations: 160.6 kB / 0.6526 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.2324, allocations: 66.22 kB / 0.6527 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.2325, allocations: 14.56 kB / 0.6527 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/0.2325, allocations: 0 / 0.6527 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.001966/0.2344, allocations: 0.8183 MB / 0.6535 GB, free: 53.82 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3176739402115345] Failed to read output from testmodel.py, exit status != 0: 0.2398801799863577 0.250651218 0.020009026000000003 Calling exit ...