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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 195.4 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.907/0.907, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 68.16 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1526, allocations: 80.94 MB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002331/0.155, allocations: 0.6271 MB / 0.5844 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1571, allocations: 1.246 MB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-06/0.1571, allocations: 4 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1571, allocations: 0 / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.1571, allocations: 0 / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.1575, allocations: 47.83 kB / 0.5857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.495e-05/0.1575, allocations: 4 kB / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.1576, allocations: 7.938 kB / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.1576, allocations: 0 / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.1577, allocations: 3.984 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.1577, allocations: 0 / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.158, allocations: 91.91 kB / 0.5858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.158, allocations: 4 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.158, allocations: 3.938 kB / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1582, allocations: 47.94 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1582, allocations: 0 / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1582, allocations: 7.984 kB / 0.5859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1582, allocations: 0 / 0.5859 GB, free: 2.762 MB / 494.1 MB 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.0004599/0.1587, allocations: 315.6 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1588, allocations: 8.031 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.1588, allocations: 38.75 kB / 0.5862 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.1589, allocations: 8.922 kB / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.159, allocations: 160.4 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.159, allocations: 4.312 kB / 0.5864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1591, allocations: 384 / 0.5864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1592, allocations: 33.83 kB / 0.5864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1592, allocations: 0 / 0.5864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1592, allocations: 0 / 0.5864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1592, allocations: 0 / 0.5864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.1593, allocations: 0 / 0.5864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1594, allocations: 153.7 kB / 0.5866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.907e-05/0.1595, allocations: 22.52 kB / 0.5866 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.1595, allocations: 4.859 kB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/0.16, allocations: 0.5545 MB / 0.5871 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.16, allocations: 46.5 kB / 0.5872 GB, free: 1.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1601, allocations: 0 / 0.5872 GB, free: 1.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.1602, allocations: 33.69 kB / 0.5872 GB, free: 1.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1602, allocations: 51.41 kB / 0.5873 GB, free: 1.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.986e-05/0.1602, allocations: 89.86 kB / 0.5873 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1603, allocations: 25.7 kB / 0.5874 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.1603, allocations: 80.14 kB / 0.5874 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1603, allocations: 7.844 kB / 0.5874 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1604, allocations: 13.84 kB / 0.5875 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1606, allocations: 322.8 kB / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.1606, allocations: 0 / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.1606, allocations: 7.984 kB / 0.5878 GB, free: 468 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.1606, allocations: 4.859 kB / 0.5878 GB, free: 460 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1607, allocations: 4 kB / 0.5878 GB, free: 456 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.132e-05/0.1607, allocations: 29.7 kB / 0.5878 GB, free: 420 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1607, allocations: 11.88 kB / 0.5878 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1608, allocations: 4.094 kB / 0.5878 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1608, allocations: 0 / 0.5878 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.262e-05/0.1608, allocations: 4 kB / 0.5878 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1608, allocations: 3.984 kB / 0.5878 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.1609, allocations: 3.938 kB / 0.5878 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1609, allocations: 0 / 0.5878 GB, free: 392 kB / 494.1 MB 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 0.0001065/0.161, allocations: 117.8 kB / 0.588 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.161, allocations: 7.922 kB / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1611, allocations: 40.83 kB / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1611, allocations: 0 / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1611, allocations: 0 / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.1611, allocations: 0 / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1613, allocations: 149.7 kB / 0.5881 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1613, allocations: 0 / 0.5881 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.1614, allocations: 0 / 0.5881 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1614, allocations: 3.938 kB / 0.5881 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.1614, allocations: 4.078 kB / 0.5881 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1614, allocations: 0 / 0.5881 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1614, allocations: 4.031 kB / 0.5882 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.987e-05/0.1615, allocations: 61.06 kB / 0.5882 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1616, allocations: 81.33 kB / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1616, allocations: 4 kB / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.1616, allocations: 0 / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.1616, allocations: 0 / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1616, allocations: 0 / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.1617, allocations: 79.31 kB / 0.5884 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.505e-06/0.1617, allocations: 0 / 0.5884 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003052/0.162, allocations: 15.94 kB / 0.5884 GB, free: 15.72 MB / 0.4981 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.000579/0.1626, allocations: 0.6085 MB / 0.589 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.638e-05/0.1627, allocations: 8.031 kB / 0.589 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1627, allocations: 0 / 0.589 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.085e-06/0.1627, allocations: 0 / 0.589 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.1629, allocations: 7.938 kB / 0.589 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.1632, allocations: 104.3 kB / 0.5891 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1635, allocations: 0.677 MB / 0.5898 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.1636, allocations: 4.125 kB / 0.5898 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.1636, allocations: 7.438 kB / 0.5898 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1636, allocations: 0 / 0.5898 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.1759, allocations: 0.9003 MB / 0.5906 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.1762, allocations: 202.5 kB / 0.5908 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.825, allocations: 0 / 0.5908 GB, free: 13.18 MB / 0.4981 GB (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 --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)