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.001749/0.001749, allocations: 118.7 kB / 17.13 MB, free: 5.918 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.001974/0.001974, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.439/1.439, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.8465/0.8465, allocations: 129.2 MB / 432.5 MB, free: 13.29 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3739, allocations: 83.44 MB / 0.6802 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001635/0.3755, allocations: 0.5718 MB / 0.6808 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3769, allocations: 1.266 MB / 0.682 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.3769, allocations: 1.406 kB / 0.682 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.3769, allocations: 0 / 0.682 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.3769, allocations: 0 / 0.682 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3773, allocations: 64.28 kB / 0.6821 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.162e-05/0.3773, allocations: 1.188 kB / 0.6821 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.3774, allocations: 9.047 kB / 0.6821 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.3774, allocations: 1.188 kB / 0.6821 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.3774, allocations: 5.188 kB / 0.6821 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.3774, allocations: 0 / 0.6821 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.3776, allocations: 99.7 kB / 0.6822 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.3776, allocations: 0 / 0.6822 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.3777, allocations: 1.094 kB / 0.6822 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3778, allocations: 54.38 kB / 0.6822 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3778, allocations: 0 / 0.6822 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3778, allocations: 5 kB / 0.6822 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3778, allocations: 4 kB / 0.6823 GB, free: 4.406 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.0002233/0.378, allocations: 325.7 kB / 0.6826 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.378, allocations: 8.969 kB / 0.6826 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.3781, allocations: 35.91 kB / 0.6826 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.877e-05/0.3781, allocations: 4.922 kB / 0.6826 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.894e-05/0.3781, allocations: 164.4 kB / 0.6828 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3782, allocations: 1.531 kB / 0.6828 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.3782, allocations: 384 / 0.6828 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.442e-05/0.3782, allocations: 36.17 kB / 0.6828 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3782, allocations: 4 kB / 0.6828 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.3783, allocations: 1.188 kB / 0.6828 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3783, allocations: 0 / 0.6828 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.3783, allocations: 9.234 kB / 0.6828 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.348e-05/0.3784, allocations: 151 kB / 0.683 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.914e-05/0.3784, allocations: 20.86 kB / 0.683 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.195e-05/0.3784, allocations: 5.922 kB / 0.683 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.3788, allocations: 0.5629 MB / 0.6835 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.3788, allocations: 39.66 kB / 0.6836 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3788, allocations: 0 / 0.6836 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.3789, allocations: 35.39 kB / 0.6836 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.3789, allocations: 51.41 kB / 0.6837 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.419e-05/0.3789, allocations: 89.98 kB / 0.6837 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.3789, allocations: 30.83 kB / 0.6838 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-06/0.3789, allocations: 80.14 kB / 0.6838 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.379, allocations: 5.078 kB / 0.6839 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.379, allocations: 14.8 kB / 0.6839 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.379, allocations: 316.1 kB / 0.6842 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.379, allocations: 1.125 kB / 0.6842 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.379, allocations: 1.281 kB / 0.6842 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.379, allocations: 12.11 kB / 0.6842 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.379, allocations: 0 / 0.6842 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.172e-05/0.3791, allocations: 34.86 kB / 0.6842 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3791, allocations: 9.062 kB / 0.6842 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3791, allocations: 1.219 kB / 0.6842 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3791, allocations: 0 / 0.6842 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.803e-05/0.3792, allocations: 5.578 kB / 0.6842 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3792, allocations: 1.094 kB / 0.6842 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.3792, allocations: 0 / 0.6842 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3792, allocations: 1.188 kB / 0.6842 GB, free: 2.094 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 4.2e-05/0.3792, allocations: 114.7 kB / 0.6843 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.3792, allocations: 3.938 kB / 0.6843 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.3793, allocations: 46.31 kB / 0.6844 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3793, allocations: 1.125 kB / 0.6844 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3793, allocations: 0 / 0.6844 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3793, allocations: 1.125 kB / 0.6844 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.741e-05/0.3794, allocations: 142.9 kB / 0.6845 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3794, allocations: 4.031 kB / 0.6845 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.3794, allocations: 5.469 kB / 0.6845 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3794, allocations: 5.5 kB / 0.6845 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.3794, allocations: 0 / 0.6845 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3794, allocations: 3.938 kB / 0.6845 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3794, allocations: 3.984 kB / 0.6846 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.755e-05/0.3794, allocations: 55.61 kB / 0.6846 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.3795, allocations: 86.83 kB / 0.6847 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.3795, allocations: 0 / 0.6847 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-06/0.3795, allocations: 0 / 0.6847 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.3795, allocations: 5.953 kB / 0.6847 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3795, allocations: 0 / 0.6847 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.012e-05/0.3795, allocations: 79.28 kB / 0.6848 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.3795, allocations: 3.938 kB / 0.6848 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002131/0.3797, allocations: 5.406 kB / 0.6848 GB, free: 1.465 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.0002434/0.38, allocations: 0.6093 MB / 0.6854 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.17e-05/0.38, allocations: 3.688 kB / 0.6854 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.38, allocations: 1.375 kB / 0.6854 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/0.38, allocations: 5.062 kB / 0.6854 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.3801, allocations: 2.156 kB / 0.6854 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.3804, allocations: 121.3 kB / 0.6855 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.629e-05/0.3805, allocations: 0.6703 MB / 0.6862 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.3805, allocations: 1.25 kB / 0.6862 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.3805, allocations: 8.469 kB / 0.6862 GB, free: 16 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.3805, allocations: 0 / 0.6862 GB, free: 16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.4039, allocations: 1.04 MB / 0.6872 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.32, allocations: 9.312 kB / 0.6872 GB, free: 15.38 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.67854874394834] Failed to read output from testmodel.py, exit status != 0: 8.387169572059065 8.401435635 8.020871442 Calling exit ...