Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.001073/0.001073, 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.001044/0.001044, allocations: 221.8 kB / 22.26 MB, free: 3.707 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.9975/0.9975, allocations: 230.6 MB / 256 MB, free: 9.797 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.8268/0.8268, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",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.001095/0.001095, allocations: 67.7 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5613, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001991/0.5633, allocations: 1.527 MB / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.5642, allocations: 0.7742 MB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.5643, allocations: 2.188 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.5643, allocations: 4.781 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-05/0.5644, allocations: 8.859 kB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.5648, allocations: 99.83 kB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.5649, allocations: 35.36 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.565, allocations: 13.34 kB / 0.8203 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.5651, allocations: 25.69 kB / 0.8203 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.5651, allocations: 19.62 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.5651, allocations: 4.438 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.5653, allocations: 120.6 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.5654, allocations: 7.578 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.5654, allocations: 16.03 kB / 0.8205 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.5656, allocations: 103.2 kB / 0.8206 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5656, allocations: 2.375 kB / 0.8206 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5656, allocations: 0 / 0.8206 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5656, allocations: 4 kB / 0.8206 GB, free: 15.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003826/0.566, allocations: 293.3 kB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.566, allocations: 12.19 kB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.566, allocations: 36.3 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.5661, allocations: 14.16 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.5663, allocations: 125.4 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.5663, allocations: 384 / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.5663, allocations: 3.438 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.5665, allocations: 63.97 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.5665, allocations: 0.625 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5665, allocations: 0.6562 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.5665, allocations: 1.969 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.058e-05/0.5666, allocations: 27.88 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.5669, allocations: 250.3 kB / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.598e-05/0.5669, allocations: 37.27 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.567, allocations: 13.95 kB / 0.8214 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.5671, allocations: 40.7 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.5671, allocations: 30.56 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.5671, allocations: 3.984 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.5673, allocations: 71.41 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.5674, allocations: 52.69 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.5674, allocations: 122.3 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.5674, allocations: 25.7 kB / 0.8217 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.5675, allocations: 96.53 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.5675, allocations: 4.844 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.5675, allocations: 14.2 kB / 0.8218 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.5676, allocations: 330.5 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.5676, allocations: 7.281 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.5676, allocations: 14.03 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.5677, allocations: 22.17 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5677, allocations: 0 / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.651e-05/0.5678, allocations: 58.23 kB / 0.8223 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5678, allocations: 9.75 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5678, allocations: 0 / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5678, allocations: 0.6562 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.5679, allocations: 5.391 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5679, allocations: 1.594 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.5679, allocations: 8.328 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5679, allocations: 4.594 kB / 0.8223 GB, free: 13.84 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 (2): * Single equations (assignments): 2 * 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.634e-05/0.5679, allocations: 113.1 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.568, allocations: 11.84 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.5681, allocations: 63.69 kB / 0.8225 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.5681, allocations: 3.938 kB / 0.8225 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5681, allocations: 0.7031 kB / 0.8225 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.5681, allocations: 3.656 kB / 0.8225 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.5682, allocations: 134.8 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5682, allocations: 0.7031 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.5682, allocations: 9.516 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5682, allocations: 0 / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.5683, allocations: 10.14 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5683, allocations: 0 / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5683, allocations: 2.094 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.5684, allocations: 151.2 kB / 0.8228 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.5684, allocations: 7.281 kB / 0.8228 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.5684, allocations: 4.516 kB / 0.8228 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.5685, allocations: 2.562 kB / 0.8228 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.5685, allocations: 11.11 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.5685, allocations: 1.438 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.5686, allocations: 98.36 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5686, allocations: 3.938 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001579/0.5687, allocations: 11.78 kB / 0.8229 GB, free: 13.25 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 (2): * Single equations (assignments): 2 * 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.000343/0.5691, allocations: 0.6976 MB / 0.8236 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.5692, allocations: 22.77 kB / 0.8236 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.5692, allocations: 0 / 0.8236 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.5692, allocations: 15.11 kB / 0.8236 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.5693, allocations: 8.141 kB / 0.8236 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009089/0.5702, allocations: 1.317 MB / 0.8249 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.5705, allocations: 0.6832 MB / 0.8256 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.5706, allocations: 2.375 kB / 0.8256 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.5706, allocations: 17.41 kB / 0.8256 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.5706, allocations: 0 / 0.8256 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.5854, allocations: 1.756 MB / 0.8273 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/7.055, allocations: 10.53 kB / 0.8273 GB, free: 10.18 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.220804445911199] Failed to read output from testmodel.py, exit status != 0: 7.13163768616505 7.14203844 6.573791943 Calling exit ...