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.0008207/0.0008207, allocations: 101.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.0009176/0.0009176, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.9998/0.9998, allocations: 230.6 MB / 256 MB, free: 9.586 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.842/0.842, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001466/0.001466, allocations: 66.66 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5414, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001237/0.5427, allocations: 0.5856 MB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.5437, allocations: 1.281 MB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.5437, allocations: 0 / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.5437, allocations: 4 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.5437, allocations: 0 / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.5441, allocations: 73.52 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.5442, allocations: 3.297 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.5442, allocations: 2.141 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.5442, allocations: 0 / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.5443, allocations: 2.266 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.5443, allocations: 0 / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.5446, allocations: 113.4 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.5446, allocations: 0 / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.5446, allocations: 7.938 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.5448, allocations: 69.28 kB / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5448, allocations: 0 / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5448, allocations: 0 / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5448, allocations: 0 / 0.8199 GB, free: 15.67 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.0003232/0.5451, allocations: 250.1 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5452, allocations: 10 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.5452, allocations: 30.75 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.5452, allocations: 5.828 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.943e-05/0.5453, allocations: 107 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5453, allocations: 5.594 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.5453, allocations: 384 / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.5454, allocations: 34.02 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.5454, allocations: 0 / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-06/0.5454, allocations: 0 / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.5454, allocations: 2.281 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.5455, allocations: 0.5156 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.5456, allocations: 124 kB / 0.8205 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/0.5456, allocations: 21.05 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.5457, allocations: 8.219 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.546, allocations: 41.83 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.546, allocations: 35.25 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.546, allocations: 0 / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.5461, allocations: 39 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.5462, allocations: 55.34 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.413e-05/0.5462, allocations: 98.5 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5462, allocations: 25.7 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.5462, allocations: 80.27 kB / 0.8209 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.5463, allocations: 4.516 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.5463, allocations: 13.39 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.5464, allocations: 312.3 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.5464, allocations: 2.5 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.5464, allocations: 0 / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.5464, allocations: 11.84 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5464, allocations: 1.375 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.603e-05/0.5465, allocations: 32.97 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5465, allocations: 8.984 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5465, allocations: 4.094 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5465, allocations: 2.938 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.5466, allocations: 4.453 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5466, allocations: 4.594 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.5466, allocations: 0 / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.5466, allocations: 2.062 kB / 0.8212 GB, free: 14.24 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.051e-05/0.5466, allocations: 109.8 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-06/0.5466, allocations: 8.578 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.335e-05/0.5467, allocations: 46.55 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5467, allocations: 0.7031 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.5467, allocations: 0 / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5467, allocations: 1.5 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.932e-05/0.5468, allocations: 120.2 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5468, allocations: 0 / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.5468, allocations: 2.812 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5468, allocations: 3.938 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5468, allocations: 0 / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.5468, allocations: 5.641 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5468, allocations: 32 / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6e-05/0.5469, allocations: 65.78 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.5469, allocations: 3.938 kB / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.5469, allocations: 0.5156 kB / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-06/0.5469, allocations: 4.609 kB / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.5469, allocations: 4.5 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.5469, allocations: 3.625 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.547, allocations: 75.28 kB / 0.8217 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.547, allocations: 0 / 0.8217 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001308/0.5471, allocations: 6.688 kB / 0.8217 GB, free: 13.75 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.0003287/0.5474, allocations: 0.6115 MB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.955e-05/0.5475, allocations: 10.64 kB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5475, allocations: 0 / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.5475, allocations: 3.5 kB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.909e-05/0.5476, allocations: 3.047 kB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.5478, allocations: 104.4 kB / 0.8224 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.5478, allocations: 58.98 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.5478, allocations: 8 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.5479, allocations: 7.438 kB / 0.8225 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.5479, allocations: 0 / 0.8225 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.5613, allocations: 1.632 MB / 0.8241 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/7.045, allocations: 5.75 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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.222854554187506] Failed to read output from testmodel.py, exit status != 0: 7.121469459030777 7.131685297 6.584799847 Calling exit ...