Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 114.2 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 198.6 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9178/0.9178, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 69.7 kB / 0.5912 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2064, allocations: 83.26 MB / 0.6725 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002017/0.2084, allocations: 0.5843 MB / 0.6731 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2103, allocations: 1.266 MB / 0.6743 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.2103, allocations: 0 / 0.6743 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.2104, allocations: 0 / 0.6743 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.2104, allocations: 0 / 0.6743 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.2108, allocations: 67.75 kB / 0.6744 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.446e-05/0.2108, allocations: 8 kB / 0.6744 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.2109, allocations: 3.984 kB / 0.6744 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.2109, allocations: 0 / 0.6744 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.211, allocations: 4 kB / 0.6744 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.211, allocations: 0 / 0.6744 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.2112, allocations: 103.8 kB / 0.6745 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.2112, allocations: 0 / 0.6745 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.2113, allocations: 0 / 0.6745 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2114, allocations: 55.81 kB / 0.6746 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2114, allocations: 0 / 0.6746 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2114, allocations: 7.938 kB / 0.6746 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2114, allocations: 0 / 0.6746 GB, free: 1.723 MB / 0.4981 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.0003852/0.2118, allocations: 331.4 kB / 0.6749 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2119, allocations: 8.031 kB / 0.6749 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2119, allocations: 0.9375 kB / 0.6749 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.212, allocations: 164.4 kB / 0.675 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.212, allocations: 384 / 0.675 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.212, allocations: 384 / 0.675 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2122, allocations: 38.02 kB / 0.6751 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2122, allocations: 0 / 0.6751 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2122, allocations: 0 / 0.6751 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2122, allocations: 0 / 0.6751 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.2122, allocations: 7.938 kB / 0.6751 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.2124, allocations: 149.7 kB / 0.6752 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.2124, allocations: 14.58 kB / 0.6752 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.2124, allocations: 8.953 kB / 0.6753 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.2131, allocations: 0.5661 MB / 0.6758 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.2131, allocations: 34.5 kB / 0.6758 GB, free: 128 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2131, allocations: 0 / 0.6758 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.2133, allocations: 37.64 kB / 0.6759 GB, free: 84 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2133, allocations: 51.41 kB / 0.6759 GB, free: 20 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2134, allocations: 89.98 kB / 0.676 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2134, allocations: 29.7 kB / 0.676 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.2135, allocations: 84.12 kB / 0.6761 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.2135, allocations: 3.953 kB / 0.6761 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.2135, allocations: 17.72 kB / 0.6761 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2137, allocations: 314.8 kB / 0.6764 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.2137, allocations: 0 / 0.6764 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.2137, allocations: 3.938 kB / 0.6764 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.2137, allocations: 12.92 kB / 0.6765 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2137, allocations: 0 / 0.6765 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.318e-05/0.2138, allocations: 33.64 kB / 0.6765 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2138, allocations: 11.94 kB / 0.6765 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2138, allocations: 0 / 0.6765 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2138, allocations: 0 / 0.6765 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.2138, allocations: 0 / 0.6765 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.2138, allocations: 7.984 kB / 0.6765 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.2139, allocations: 0 / 0.6765 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2139, allocations: 4 kB / 0.6765 GB, free: 15.38 MB / 0.5137 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 8.857e-05/0.214, allocations: 109.9 kB / 0.6766 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.214, allocations: 3.938 kB / 0.6766 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.2141, allocations: 40.77 kB / 0.6767 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2141, allocations: 7.922 kB / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2141, allocations: 0 / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2141, allocations: 0 / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2142, allocations: 149.7 kB / 0.6768 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2142, allocations: 4.031 kB / 0.6768 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.2142, allocations: 4 kB / 0.6768 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2142, allocations: 7.922 kB / 0.6768 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.2142, allocations: 0 / 0.6768 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.2142, allocations: 0 / 0.6768 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2142, allocations: 0 / 0.6768 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.557e-05/0.2143, allocations: 57.12 kB / 0.6769 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.2143, allocations: 77.14 kB / 0.677 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2144, allocations: 11.94 kB / 0.677 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.2144, allocations: 0 / 0.677 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.2144, allocations: 4 kB / 0.677 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.2144, allocations: 0 / 0.677 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.2144, allocations: 79.22 kB / 0.677 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.2144, allocations: 0 / 0.677 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002065/0.2146, allocations: 11.92 kB / 0.6771 GB, free: 14.72 MB / 0.5137 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.0001882/0.2148, allocations: 103.2 kB / 0.6772 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.153e-05/0.2149, allocations: 8 kB / 0.6772 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2149, allocations: 3.938 kB / 0.6772 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.2149, allocations: 0 / 0.6772 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.2151, allocations: 4 kB / 0.6772 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.2153, allocations: 77.06 kB / 0.6772 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.2157, allocations: 0.669 MB / 0.6779 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.2157, allocations: 8.125 kB / 0.6779 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.2157, allocations: 7.438 kB / 0.6779 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.2157, allocations: 0 / 0.6779 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of Templates: time 0.002653/0.2184, allocations: 308.7 kB / 0.6782 GB, free: 13.48 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480]