Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001256/0.001256, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.0014/0.0014, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8571/0.8571, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 70.11 kB / 0.6186 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2166, allocations: 85.91 MB / 0.7025 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001748/0.2184, allocations: 0.5743 MB / 0.703 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2204, allocations: 1.331 MB / 0.7043 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.2204, allocations: 0 / 0.7043 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.2204, allocations: 3.938 kB / 0.7043 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.2204, allocations: 0 / 0.7043 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.2209, allocations: 71.75 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.2209, allocations: 4 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.221, allocations: 4 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.221, allocations: 3.984 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.2211, allocations: 0 / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.2211, allocations: 3.938 kB / 0.7044 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.2214, allocations: 111.8 kB / 0.7045 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.2214, allocations: 4 kB / 0.7045 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.2214, allocations: 0 / 0.7045 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2216, allocations: 60.14 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2216, allocations: 0 / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2216, allocations: 0 / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.2216, allocations: 4 kB / 0.7046 GB, free: 15.14 MB / 0.5294 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.0003661/0.222, allocations: 254.2 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.222, allocations: 12.03 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.222, allocations: 30.75 kB / 0.7049 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.2221, allocations: 0.9375 kB / 0.7049 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.2222, allocations: 106.5 kB / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2222, allocations: 384 / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.2222, allocations: 384 / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2223, allocations: 41.77 kB / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2223, allocations: 0 / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.2223, allocations: 0 / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2223, allocations: 0 / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.2223, allocations: 4 kB / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.2225, allocations: 120.8 kB / 0.7051 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.2226, allocations: 18.61 kB / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.2226, allocations: 4.859 kB / 0.7052 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.2229, allocations: 40.03 kB / 0.7052 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2229, allocations: 38.44 kB / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2229, allocations: 0 / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.2231, allocations: 33.66 kB / 0.7053 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2231, allocations: 55.39 kB / 0.7053 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.2232, allocations: 97.98 kB / 0.7054 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2232, allocations: 29.7 kB / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.2232, allocations: 80.14 kB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.2233, allocations: 0 / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.2233, allocations: 9.719 kB / 0.7055 GB, free: 14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2235, allocations: 318.8 kB / 0.7058 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.2235, allocations: 0 / 0.7058 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.2235, allocations: 0 / 0.7058 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.2235, allocations: 20.86 kB / 0.7059 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2235, allocations: 0 / 0.7059 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.595e-05/0.2236, allocations: 33.69 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2236, allocations: 11.94 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2236, allocations: 0 / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2236, allocations: 0 / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.969e-05/0.2236, allocations: 3.938 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2236, allocations: 3.938 kB / 0.7059 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.2237, allocations: 0 / 0.7059 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.2237, allocations: 4 kB / 0.7059 GB, free: 13.6 MB / 0.5294 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 7.922e-05/0.2237, allocations: 109.9 kB / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.2238, allocations: 7.938 kB / 0.706 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.2239, allocations: 52.56 kB / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2239, allocations: 0 / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2239, allocations: 0 / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2239, allocations: 0 / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.224, allocations: 120.7 kB / 0.7062 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.224, allocations: 4.031 kB / 0.7062 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.224, allocations: 4 kB / 0.7062 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.224, allocations: 3.938 kB / 0.7062 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.224, allocations: 0 / 0.7062 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.224, allocations: 0 / 0.7062 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.224, allocations: 0 / 0.7062 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.548e-05/0.2241, allocations: 61.08 kB / 0.7063 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.2241, allocations: 7.922 kB / 0.7063 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.2241, allocations: 4.031 kB / 0.7063 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.2241, allocations: 3.984 kB / 0.7063 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.2241, allocations: 4 kB / 0.7063 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2241, allocations: 0 / 0.7063 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.2241, allocations: 75.28 kB / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.2241, allocations: 0 / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001954/0.2243, allocations: 8 kB / 0.7064 GB, free: 13.06 MB / 0.5294 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.0004595/0.2248, allocations: 0.6085 MB / 0.707 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.2249, allocations: 11.94 kB / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2249, allocations: 0 / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.2249, allocations: 0 / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.225, allocations: 0 / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.2253, allocations: 115.9 kB / 0.7071 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.2257, allocations: 0.6766 MB / 0.7077 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.2257, allocations: 0 / 0.7077 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.2257, allocations: 11.44 kB / 0.7077 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2257, allocations: 0 / 0.7077 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.2524, allocations: 1.232 MB / 0.709 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.83, allocations: 3.938 kB / 0.709 GB, free: 10.45 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.538727937004296] Failed to read output from testmodel.py, exit status != 0: 10.940464644001622 10.967453307 10.741154924 Calling exit ...