Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.0007898/0.0007898, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0007794/0.0007794, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.8419/0.8419, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.00139/0.00139, allocations: 229.7 kB / 260.2 MB, free: 13.04 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.6374/0.6374, allocations: 138.4 MB / 455.1 MB, free: 1.656 MB / 362.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6476 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.906e-05, allocations: 2.281 kB / 0.6476 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001124/0.001153, allocations: 0.5856 MB / 0.6482 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002266, allocations: 1.282 MB / 0.6494 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.002282, allocations: 0 / 0.6494 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.002297, allocations: 0 / 0.6494 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.002304, allocations: 3.938 kB / 0.6494 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.002641, allocations: 74.75 kB / 0.6495 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.548e-05/0.002686, allocations: 5.094 kB / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.002731, allocations: 1.406 kB / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.002757, allocations: 1.094 kB / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.002798, allocations: 1.312 kB / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.002809, allocations: 0 / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.003042, allocations: 118.1 kB / 0.6496 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.003051, allocations: 0 / 0.6496 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.003065, allocations: 1.5 kB / 0.6496 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.003192, allocations: 72.91 kB / 0.6497 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003194, allocations: 0 / 0.6497 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.003195, allocations: 1.531 kB / 0.6497 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.003201, allocations: 4 kB / 0.6497 GB, free: 27.17 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002005/0.003401, allocations: 249.6 kB / 0.6499 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.003442, allocations: 14.67 kB / 0.6499 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.003469, allocations: 0.9375 kB / 0.6499 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.781e-05/0.003507, allocations: 103.2 kB / 0.65 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.003517, allocations: 384 / 0.65 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.003524, allocations: 1.906 kB / 0.65 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.542e-05/0.0036, allocations: 35.58 kB / 0.6501 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.003607, allocations: 192 / 0.6501 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003615, allocations: 1.656 kB / 0.6501 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.003619, allocations: 11.88 kB / 0.6501 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.003636, allocations: 1.5 kB / 0.6501 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.755e-05/0.003713, allocations: 98.81 kB / 0.6502 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.003751, allocations: 17.52 kB / 0.6502 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.003764, allocations: 6.328 kB / 0.6502 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.004006, allocations: 40.44 kB / 0.6502 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.00402, allocations: 39.62 kB / 0.6503 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.00402, allocations: 9.094 kB / 0.6503 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.004131, allocations: 30.3 kB / 0.6503 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.004148, allocations: 60.45 kB / 0.6504 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.188e-05/0.00416, allocations: 89.86 kB / 0.6505 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-06/0.004164, allocations: 26.83 kB / 0.6505 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-06/0.004171, allocations: 80.14 kB / 0.6506 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.004197, allocations: 9.047 kB / 0.6506 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.004216, allocations: 10.91 kB / 0.6506 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.637e-05/0.004242, allocations: 316.3 kB / 0.6509 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.00425, allocations: 0.7188 kB / 0.6509 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.004255, allocations: 5.875 kB / 0.6509 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.004278, allocations: 12.05 kB / 0.6509 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.00428, allocations: 0 / 0.6509 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.715e-05/0.004307, allocations: 34.97 kB / 0.6509 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.00432, allocations: 5.281 kB / 0.6509 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.004325, allocations: 4.953 kB / 0.6509 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.004336, allocations: 0 / 0.6509 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-05/0.004371, allocations: 1.562 kB / 0.6509 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.004376, allocations: 5.094 kB / 0.6509 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-06/0.004382, allocations: 4.094 kB / 0.6509 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.004389, allocations: 1.062 kB / 0.6509 GB, free: 25.79 MB / 0.5105 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 (1): * Single equations (assignments): 1 * 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 3.103e-05/0.00442, allocations: 111.7 kB / 0.6511 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-06/0.004422, allocations: 1.375 kB / 0.6511 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.004486, allocations: 41.75 kB / 0.6511 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.004488, allocations: 1.25 kB / 0.6511 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.004491, allocations: 0 / 0.6511 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004494, allocations: 7.938 kB / 0.6511 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.098e-05/0.004525, allocations: 98.7 kB / 0.6512 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004525, allocations: 1.094 kB / 0.6512 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-06/0.004532, allocations: 5.391 kB / 0.6512 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004533, allocations: 1.469 kB / 0.6512 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.004539, allocations: 0 / 0.6512 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.00454, allocations: 0 / 0.6512 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00454, allocations: 0 / 0.6512 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.68e-05/0.004577, allocations: 60.33 kB / 0.6513 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-06/0.00458, allocations: 13.34 kB / 0.6513 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.004589, allocations: 5.578 kB / 0.6513 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-06/0.004593, allocations: 32 / 0.6513 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.004605, allocations: 5.062 kB / 0.6513 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.004607, allocations: 0 / 0.6513 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.807e-06/0.004616, allocations: 80.06 kB / 0.6514 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.004616, allocations: 0 / 0.6514 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001313/0.004747, allocations: 6.875 kB / 0.6514 GB, free: 25.32 MB / 0.5105 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 (1): * Single equations (assignments): 1 * 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.000116/0.004863, allocations: 120.6 kB / 0.6515 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.596e-05/0.004919, allocations: 3.375 kB / 0.6515 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.004921, allocations: 1.188 kB / 0.6515 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.004926, allocations: 5.344 kB / 0.6515 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.361e-05/0.00502, allocations: 2.25 kB / 0.6515 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001479/0.005167, allocations: 115.6 kB / 0.6516 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.326e-05/0.005191, allocations: 54.11 kB / 0.6517 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/0.005203, allocations: 8.5 kB / 0.6517 GB, free: 25 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.005203, allocations: 0 / 0.6517 GB, free: 25 MB / 0.5105 GB Notification: Performance of Templates: time 0.001358/0.006561, allocations: 0.518 MB / 0.6522 GB, free: 24.75 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.940041230991483] Failed to read output from testmodel.py, exit status != 0: 0.01083839125931263 0.017256171 0.012821755 Calling exit ...