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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 121.3 kB / 17.81 MB, free: 5.273 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.001302/0.001302, allocations: 193.4 kB / 20.74 MB, free: 2.344 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.493/1.493, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8755/0.8755, allocations: 128.4 MB / 432.4 MB, free: 13.54 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 0.5988 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3984, allocations: 83.26 MB / 0.6801 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001464/0.3998, allocations: 0.5726 MB / 0.6806 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.401, allocations: 1.267 MB / 0.6819 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.401, allocations: 0 / 0.6819 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.052e-05/0.401, allocations: 4 kB / 0.6819 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.401, allocations: 0 / 0.6819 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.4013, allocations: 68.45 kB / 0.6819 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.658e-05/0.4014, allocations: 1.469 kB / 0.6819 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.4014, allocations: 1.312 kB / 0.6819 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.232e-05/0.4014, allocations: 1.594 kB / 0.6819 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.501e-05/0.4015, allocations: 3.938 kB / 0.682 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.4015, allocations: 0 / 0.682 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.4017, allocations: 99.61 kB / 0.682 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.4017, allocations: 4 kB / 0.682 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.349e-05/0.4017, allocations: 1.188 kB / 0.6821 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.4018, allocations: 55.55 kB / 0.6821 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4018, allocations: 0 / 0.6821 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4018, allocations: 1.125 kB / 0.6821 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.4018, allocations: 0 / 0.6821 GB, free: 5.457 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.0002262/0.402, allocations: 321.3 kB / 0.6824 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.4021, allocations: 9.812 kB / 0.6824 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.4021, allocations: 4.875 kB / 0.6824 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.39e-05/0.4022, allocations: 168.3 kB / 0.6826 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.4022, allocations: 5.406 kB / 0.6826 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4022, allocations: 5.406 kB / 0.6826 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.921e-05/0.4023, allocations: 32.36 kB / 0.6826 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4023, allocations: 0 / 0.6826 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.4023, allocations: 0 / 0.6826 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4023, allocations: 0 / 0.6826 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.4023, allocations: 2.875 kB / 0.6826 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.763e-05/0.4024, allocations: 145.7 kB / 0.6828 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.093e-05/0.4024, allocations: 29.27 kB / 0.6828 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.4024, allocations: 5.953 kB / 0.6828 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/0.4028, allocations: 0.5589 MB / 0.6833 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.4028, allocations: 39.78 kB / 0.6834 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4028, allocations: 0 / 0.6834 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.4029, allocations: 38.61 kB / 0.6834 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.4029, allocations: 52.88 kB / 0.6835 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.563e-05/0.403, allocations: 89.86 kB / 0.6836 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.403, allocations: 25.7 kB / 0.6836 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-06/0.403, allocations: 80.14 kB / 0.6837 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.403, allocations: 5.172 kB / 0.6837 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.403, allocations: 15.16 kB / 0.6837 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.4031, allocations: 312.3 kB / 0.684 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.4031, allocations: 4 kB / 0.684 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.4031, allocations: 5.469 kB / 0.684 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.094e-05/0.4031, allocations: 8.422 kB / 0.684 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4031, allocations: 0 / 0.684 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.1e-05/0.4031, allocations: 30.77 kB / 0.684 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4031, allocations: 16.83 kB / 0.684 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.4032, allocations: 0 / 0.684 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4032, allocations: 0 / 0.684 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.568e-05/0.4032, allocations: 10.91 kB / 0.684 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4032, allocations: 3.938 kB / 0.6841 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.4032, allocations: 7.891 kB / 0.6841 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4032, allocations: 1.75 kB / 0.6841 GB, free: 3.18 MB / 0.4981 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.223e-05/0.4033, allocations: 105.8 kB / 0.6842 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-06/0.4033, allocations: 5.281 kB / 0.6842 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.4033, allocations: 46.53 kB / 0.6842 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.4033, allocations: 0 / 0.6842 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4033, allocations: 0 / 0.6842 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4033, allocations: 1.375 kB / 0.6842 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.199e-05/0.4034, allocations: 143.2 kB / 0.6844 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4034, allocations: 3.938 kB / 0.6844 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.4034, allocations: 1.344 kB / 0.6844 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4034, allocations: 7.922 kB / 0.6844 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4034, allocations: 1.625 kB / 0.6844 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4034, allocations: 0 / 0.6844 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4034, allocations: 0 / 0.6844 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.706e-05/0.4035, allocations: 68.34 kB / 0.6844 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.4035, allocations: 81.05 kB / 0.6845 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.4035, allocations: 9.172 kB / 0.6845 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-06/0.4035, allocations: 0 / 0.6845 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.4035, allocations: 0.9688 kB / 0.6845 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.4035, allocations: 0 / 0.6845 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.518e-06/0.4035, allocations: 76.22 kB / 0.6846 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4035, allocations: 4.031 kB / 0.6846 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001856/0.4037, allocations: 5.156 kB / 0.6846 GB, free: 2.559 MB / 0.4981 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.0001222/0.4038, allocations: 110.2 kB / 0.6847 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.737e-05/0.4039, allocations: 11.77 kB / 0.6847 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4039, allocations: 0 / 0.6847 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.4039, allocations: 2.531 kB / 0.6847 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.404, allocations: 5.25 kB / 0.6847 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001393/0.4042, allocations: 103.8 kB / 0.6848 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.975e-05/0.4042, allocations: 0.6701 MB / 0.6855 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.4042, allocations: 12.72 kB / 0.6855 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4042, allocations: 0 / 0.6855 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.001791/0.406, allocations: 445.8 kB / 0.6859 GB, free: 1.398 MB / 0.4981 GB " [Timeout remaining time 660] 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] [Calling sys.exit(0), Time elapsed: 7.645830773981288] Failed to read output from testmodel.py, exit status != 0: 0.4130685890559107 0.42523504100000004 0.020779202 Calling exit ...