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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 117.9 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 290 kB / 303.6 MB, free: 3.758 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9894/0.9894, allocations: 180.9 MB / 0.5268 GB, free: 2.672 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002821/0.002821, allocations: 103.8 kB / 0.7259 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4724, allocations: 94.16 MB / 0.8179 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002215/0.4747, allocations: 1.507 MB / 0.8193 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.4755, allocations: 0.6574 MB / 0.82 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.4756, allocations: 0.7188 kB / 0.82 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.4756, allocations: 3.938 kB / 0.82 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.4756, allocations: 13 kB / 0.82 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.4759, allocations: 78.83 kB / 0.8201 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.476, allocations: 44.97 kB / 0.8201 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.4761, allocations: 11.89 kB / 0.8201 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.4762, allocations: 14.06 kB / 0.8201 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.4762, allocations: 15.88 kB / 0.8202 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4762, allocations: 2.969 kB / 0.8202 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4764, allocations: 98.48 kB / 0.8203 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.4764, allocations: 13.44 kB / 0.8203 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.4764, allocations: 15.28 kB / 0.8203 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.4766, allocations: 92.02 kB / 0.8204 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4766, allocations: 0 / 0.8204 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4766, allocations: 0.7188 kB / 0.8204 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.4766, allocations: 0.8906 kB / 0.8204 GB, free: 5.742 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.0003345/0.4769, allocations: 370.5 kB / 0.8207 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.477, allocations: 9.156 kB / 0.8207 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.477, allocations: 3.344 kB / 0.8207 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.4771, allocations: 170 kB / 0.8209 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.4771, allocations: 6.531 kB / 0.8209 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.4771, allocations: 2.562 kB / 0.8209 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.4772, allocations: 54.92 kB / 0.821 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4773, allocations: 0 / 0.821 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4773, allocations: 0.6562 kB / 0.821 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4773, allocations: 5.266 kB / 0.821 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.4774, allocations: 34.58 kB / 0.821 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.4777, allocations: 282.2 kB / 0.8213 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.4777, allocations: 34.92 kB / 0.8213 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.4778, allocations: 13.23 kB / 0.8213 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.4781, allocations: 0.5641 MB / 0.8219 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.4781, allocations: 35.53 kB / 0.8219 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4781, allocations: 0 / 0.8219 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002298/0.4784, allocations: 61 kB / 0.822 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.4784, allocations: 52.12 kB / 0.822 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.4784, allocations: 125 kB / 0.8221 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.4784, allocations: 25.7 kB / 0.8222 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.4785, allocations: 90.12 kB / 0.8222 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.4785, allocations: 9.578 kB / 0.8222 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.4785, allocations: 16.47 kB / 0.8223 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.4786, allocations: 331.5 kB / 0.8226 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.4786, allocations: 9.656 kB / 0.8226 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.4786, allocations: 8.859 kB / 0.8226 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.4787, allocations: 25.06 kB / 0.8226 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4787, allocations: 0 / 0.8226 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/0.4788, allocations: 58.14 kB / 0.8227 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4788, allocations: 5.062 kB / 0.8227 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4788, allocations: 4.625 kB / 0.8227 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4788, allocations: 0 / 0.8227 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.4789, allocations: 5.25 kB / 0.8227 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4789, allocations: 3.938 kB / 0.8227 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.4789, allocations: 2.156 kB / 0.8227 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4789, allocations: 5.422 kB / 0.8227 GB, free: 3.309 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 4.28e-05/0.479, allocations: 119.4 kB / 0.8228 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.479, allocations: 1.938 kB / 0.8228 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.4791, allocations: 61.22 kB / 0.8229 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4791, allocations: 0.5 kB / 0.8229 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4792, allocations: 4.688 kB / 0.8229 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4792, allocations: 0 / 0.8229 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.4793, allocations: 175.3 kB / 0.823 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4793, allocations: 1.219 kB / 0.8231 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.4793, allocations: 3.781 kB / 0.8231 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4793, allocations: 4.969 kB / 0.8231 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.4793, allocations: 3.938 kB / 0.8231 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4793, allocations: 0.9688 kB / 0.8231 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4793, allocations: 3.938 kB / 0.8231 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.4795, allocations: 148.7 kB / 0.8232 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.4795, allocations: 85.39 kB / 0.8233 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.4795, allocations: 9 kB / 0.8233 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.913e-05/0.4795, allocations: 2.094 kB / 0.8233 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.4796, allocations: 0.875 kB / 0.8233 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4796, allocations: 4.109 kB / 0.8233 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.4796, allocations: 97.17 kB / 0.8234 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4796, allocations: 1.406 kB / 0.8234 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002208/0.4798, allocations: 16.31 kB / 0.8234 GB, free: 2.594 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.0001202/0.4799, allocations: 99.78 kB / 0.8235 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.4801, allocations: 32.67 kB / 0.8235 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4801, allocations: 4 kB / 0.8235 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.4801, allocations: 10.92 kB / 0.8236 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.4803, allocations: 2.344 kB / 0.8236 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.4806, allocations: 160.8 kB / 0.8237 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/0.4807, allocations: 0.6901 MB / 0.8244 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.4807, allocations: 10.03 kB / 0.8244 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.4807, allocations: 0 / 0.8244 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of Templates: time 0.002393/0.4831, allocations: 0.7255 MB / 0.8251 GB, free: 1.562 MB / 0.5762 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: 7.734770153881982] Failed to read output from testmodel.py, exit status != 0: 0.49037962686270475 0.501850569 0.022359094000000003 Calling exit ...