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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.816/0.816, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009049, allocations: 101.4 kB / 478.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.597e-05, allocations: 12 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4407, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.5847, allocations: 110.9 MB / 0.7422 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.585, allocations: 79.89 kB / 0.7423 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005033/0.59, allocations: 1.688 MB / 0.7439 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5901, allocations: 0 / 0.7439 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5901, allocations: 0 / 0.7439 GB, free: 10.09 MB / 0.5261 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.0003049/0.5904, allocations: 326.5 kB / 0.7442 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5904, allocations: 8.031 kB / 0.7442 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.5905, allocations: 4 kB / 0.7443 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.5906, allocations: 163 kB / 0.7444 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.5906, allocations: 4 kB / 0.7444 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.5906, allocations: 0 / 0.7444 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.011e-05/0.5907, allocations: 3.938 kB / 0.7444 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.169e-05/0.5907, allocations: 33.69 kB / 0.7444 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5908, allocations: 0 / 0.7444 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.5908, allocations: 0 / 0.7444 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.5908, allocations: 4 kB / 0.7445 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.5909, allocations: 130.2 kB / 0.7446 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.591, allocations: 18.53 kB / 0.7446 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.591, allocations: 8.953 kB / 0.7446 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004784/0.5915, allocations: 0.5583 MB / 0.7451 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5915, allocations: 42.48 kB / 0.7452 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5915, allocations: 4 kB / 0.7452 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.5917, allocations: 29.7 kB / 0.7452 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.5917, allocations: 55.34 kB / 0.7453 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.416e-05/0.5918, allocations: 85 kB / 0.7454 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.5918, allocations: 29.7 kB / 0.7454 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.5918, allocations: 80.14 kB / 0.7455 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.5918, allocations: 7.844 kB / 0.7455 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.5918, allocations: 0 / 0.7455 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.592, allocations: 314.9 kB / 0.7458 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.592, allocations: 0 / 0.7458 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/0.592, allocations: 0 / 0.7458 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.592, allocations: 7.984 kB / 0.7458 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.592, allocations: 0 / 0.7458 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.63e-05/0.5921, allocations: 41.64 kB / 0.7458 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5921, allocations: 7.953 kB / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.5921, allocations: 0 / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.5921, allocations: 0 / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.5922, allocations: 8.094 kB / 0.7458 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5922, allocations: 0 / 0.7458 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.5922, allocations: 3.984 kB / 0.7458 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.5922, allocations: 3.984 kB / 0.7458 GB, free: 7.812 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/0.5923, allocations: 101 kB / 0.7459 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.384e-05/0.5924, allocations: 37.64 kB / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.5924, allocations: 3.953 kB / 0.746 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.5925, allocations: 49.41 kB / 0.746 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5925, allocations: 0 / 0.746 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5925, allocations: 0 / 0.746 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5925, allocations: 0 / 0.746 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.335e-05/0.5926, allocations: 122.2 kB / 0.7461 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.5926, allocations: 0 / 0.7461 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.5926, allocations: 7.984 kB / 0.7461 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5926, allocations: 3.953 kB / 0.7461 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.5927, allocations: 0 / 0.7461 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5927, allocations: 0 / 0.7461 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5927, allocations: 0 / 0.7461 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.371e-05/0.5928, allocations: 61.17 kB / 0.7462 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.5928, allocations: 81.09 kB / 0.7463 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.5928, allocations: 3.953 kB / 0.7463 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.5929, allocations: 3.938 kB / 0.7463 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.5929, allocations: 3.938 kB / 0.7463 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5929, allocations: 8 kB / 0.7463 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.5929, allocations: 79.31 kB / 0.7464 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5929, allocations: 0 / 0.7464 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001847/0.5931, allocations: 8 kB / 0.7464 GB, free: 7.16 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000435/0.5936, allocations: 0.593 MB / 0.747 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.688e-05/0.5936, allocations: 4 kB / 0.747 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5936, allocations: 4.094 kB / 0.747 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.5937, allocations: 7.938 kB / 0.747 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.949e-05/0.5938, allocations: 5.828 kB / 0.747 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.594, allocations: 85.64 kB / 0.7471 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.5943, allocations: 0.6768 MB / 0.7477 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.5944, allocations: 0 / 0.7477 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.5944, allocations: 15.5 kB / 0.7477 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.5944, allocations: 0 / 0.7477 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.6131, allocations: 0.5162 MB / 0.7482 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.6133, allocations: 129.9 kB / 0.7484 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.392/2.005, allocations: 0 / 0.7484 GB, free: 4.977 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)