Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009576/0.0009576, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.00105/0.00105, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8335/0.8335, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_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.001005/0.001005, allocations: 62.34 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5343, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001501/0.5358, allocations: 0.5946 MB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.5372, allocations: 1.347 MB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.5373, allocations: 0 / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.5373, allocations: 0 / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.5373, allocations: 0 / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.5377, allocations: 72.14 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.5378, allocations: 4.641 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.5378, allocations: 6.375 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.5378, allocations: 0.5625 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.5379, allocations: 2.031 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.976e-06/0.5379, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.5382, allocations: 114.6 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.5382, allocations: 3.984 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.5382, allocations: 0 / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.5383, allocations: 66.25 kB / 0.8201 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5383, allocations: 5.094 kB / 0.8201 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5383, allocations: 0 / 0.8201 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5383, allocations: 0 / 0.8201 GB, free: 15.8 MB / 0.6198 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.0002745/0.5386, allocations: 249.6 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5387, allocations: 9.312 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.5387, allocations: 31.41 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.5387, allocations: 2.938 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.27e-05/0.5388, allocations: 107.2 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.5388, allocations: 2.859 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5388, allocations: 384 / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.5389, allocations: 39.72 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5389, allocations: 1.734 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.5389, allocations: 0 / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5389, allocations: 0 / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.539, allocations: 3.188 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.5391, allocations: 117 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.74e-05/0.5391, allocations: 18.58 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.5391, allocations: 13.27 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.5394, allocations: 40.23 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5394, allocations: 35.11 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.5394, allocations: 0 / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.5396, allocations: 35.97 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.5396, allocations: 57.39 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.859e-05/0.5397, allocations: 93.8 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.5397, allocations: 29.64 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.5397, allocations: 85.39 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.5397, allocations: 0.9844 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.5397, allocations: 11.75 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.5398, allocations: 312.4 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.5398, allocations: 0.8438 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.5399, allocations: 9.922 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.5399, allocations: 7.734 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5399, allocations: 0 / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.53e-05/0.5399, allocations: 37.73 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.54, allocations: 10.09 kB / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.54, allocations: 0 / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.54, allocations: 0.6562 kB / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.54, allocations: 1.094 kB / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.54, allocations: 2.109 kB / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.54, allocations: 4.094 kB / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.5401, allocations: 2.125 kB / 0.8214 GB, free: 14.38 MB / 0.6198 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 6.198e-05/0.5401, allocations: 106.5 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.5401, allocations: 8.625 kB / 0.8215 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.5402, allocations: 47.3 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5402, allocations: 0 / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5402, allocations: 0.6094 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5402, allocations: 4.031 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.5403, allocations: 122.1 kB / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5403, allocations: 1.406 kB / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.5403, allocations: 1.312 kB / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5403, allocations: 7.672 kB / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.5404, allocations: 0 / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5404, allocations: 0 / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5404, allocations: 0.6094 kB / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.257e-05/0.5404, allocations: 67.47 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.5404, allocations: 7.922 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.5404, allocations: 0.7969 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.5404, allocations: 0 / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.5405, allocations: 0.75 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.5405, allocations: 3.5 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.5405, allocations: 79.22 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5405, allocations: 0 / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001422/0.5406, allocations: 6.906 kB / 0.8218 GB, free: 13.89 MB / 0.6198 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.0003137/0.5409, allocations: 0.6181 MB / 0.8224 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.372e-05/0.541, allocations: 8.062 kB / 0.8224 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.541, allocations: 0 / 0.8224 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-06/0.541, allocations: 3.094 kB / 0.8224 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.5411, allocations: 10.89 kB / 0.8224 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.5414, allocations: 106 kB / 0.8225 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.5415, allocations: 0.6719 MB / 0.8232 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.5415, allocations: 0.5156 kB / 0.8232 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.5416, allocations: 11.16 kB / 0.8232 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.5416, allocations: 0 / 0.8232 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.5585, allocations: 1.229 MB / 0.8244 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.504/7.063, allocations: 5.375 kB / 0.8244 GB, free: 12.01 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.169624974019825] Failed to read output from testmodel.py, exit status != 0: 7.142677919007838 7.161321272 6.619231899 Calling exit ...