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.001169/0.001169, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.000996/0.000996, allocations: 206.6 kB / 22.24 MB, free: 3.582 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 0.9698/0.9698, allocations: 230.6 MB / 256 MB, free: 9.621 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.8111/0.8111, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.0009539/0.0009539, allocations: 66.66 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5103, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001389/0.5117, allocations: 0.5928 MB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.5128, allocations: 1.28 MB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.5129, allocations: 0 / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.5129, allocations: 4 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.5129, allocations: 2.375 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.5132, allocations: 76.05 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.5133, allocations: 0.5625 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.5133, allocations: 0.6562 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.5133, allocations: 7.438 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.5134, allocations: 0.5156 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.5134, allocations: 0 / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.5136, allocations: 108.6 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.5137, allocations: 4 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.5137, allocations: 0.6094 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.5138, allocations: 64.2 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5138, allocations: 0 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5138, allocations: 0 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.5138, allocations: 0 / 0.8199 GB, free: 15.68 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.0002779/0.5141, allocations: 258.4 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5142, allocations: 9.062 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.5142, allocations: 31.45 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.5142, allocations: 0.9375 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.78e-05/0.5143, allocations: 108.6 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5143, allocations: 5.625 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.5143, allocations: 384 / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.5144, allocations: 37.08 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5144, allocations: 7.078 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.5144, allocations: 0 / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5144, allocations: 0 / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.5144, allocations: 0 / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.5145, allocations: 117 kB / 0.8205 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.5146, allocations: 21.05 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.5146, allocations: 10.52 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.5149, allocations: 42.48 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5149, allocations: 35.66 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.5149, allocations: 1.219 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.515, allocations: 36.55 kB / 0.8206 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.5151, allocations: 52.11 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.504e-05/0.5151, allocations: 89.86 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.5151, allocations: 30.73 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.5151, allocations: 84.27 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.5151, allocations: 2.5 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.5152, allocations: 16.17 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.5152, allocations: 310.8 kB / 0.8212 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.5152, allocations: 3.766 kB / 0.8212 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.5153, allocations: 4 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.5153, allocations: 8.844 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5153, allocations: 0 / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.584e-05/0.5153, allocations: 34.98 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5153, allocations: 11.53 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5153, allocations: 0 / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5154, allocations: 0.75 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.5154, allocations: 5.438 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5154, allocations: 3.391 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.5154, allocations: 7.984 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.5154, allocations: 0 / 0.8212 GB, free: 14.25 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 5.226e-05/0.5155, allocations: 109.7 kB / 0.8213 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-06/0.5155, allocations: 4.5 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.5156, allocations: 42.33 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5156, allocations: 3.672 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5156, allocations: 3.938 kB / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5156, allocations: 0 / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.5158, allocations: 126.3 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5158, allocations: 2.031 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.5158, allocations: 0.6562 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5158, allocations: 6.656 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.5158, allocations: 0.6094 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5158, allocations: 0 / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5158, allocations: 7.969 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.106e-05/0.5159, allocations: 60.08 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.5159, allocations: 4.547 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.5159, allocations: 0.6562 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-06/0.5159, allocations: 1.031 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.5159, allocations: 0.6562 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5159, allocations: 2.969 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.889e-05/0.5159, allocations: 75.28 kB / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5159, allocations: 0 / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001316/0.516, allocations: 7.172 kB / 0.8217 GB, free: 13.76 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.0002687/0.5163, allocations: 0.6123 MB / 0.8223 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.52e-05/0.5164, allocations: 5.406 kB / 0.8223 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5164, allocations: 0 / 0.8223 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.5164, allocations: 3.781 kB / 0.8223 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.823e-05/0.5165, allocations: 0.6562 kB / 0.8223 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.5167, allocations: 108.6 kB / 0.8224 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.5168, allocations: 56.38 kB / 0.8224 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.5168, allocations: 12.61 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.5168, allocations: 8.031 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.5168, allocations: 0 / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.5333, allocations: 1.632 MB / 0.8241 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/7.088, allocations: 9.906 kB / 0.8241 GB, free: 12.09 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.072258011903614] Failed to read output from testmodel.py, exit status != 0: 7.167921588756144 7.187324648 6.67004183 Calling exit ...