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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, 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.001084/0.001084, allocations: 198.3 kB / 16.14 MB, free: 6.688 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8782/0.8782, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 68.2 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1562, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002532/0.1587, allocations: 1.555 MB / 0.5853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.1597, allocations: 0.632 MB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.1598, allocations: 0 / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.1598, allocations: 7.922 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.1599, allocations: 11.92 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1601, allocations: 55.89 kB / 0.586 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.1602, allocations: 27.92 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.1603, allocations: 19.98 kB / 0.5861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.1604, allocations: 11.94 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.1604, allocations: 19.91 kB / 0.5861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1604, allocations: 4 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1606, allocations: 99.84 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1606, allocations: 7.922 kB / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.1606, allocations: 19.86 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1608, allocations: 76.12 kB / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1608, allocations: 0 / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1608, allocations: 0 / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1608, allocations: 0 / 0.5863 GB, free: 2.363 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003867/0.1612, allocations: 367.3 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1613, allocations: 8.031 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.1613, allocations: 42.73 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.1613, allocations: 0.9375 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1614, allocations: 172.2 kB / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1615, allocations: 384 / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1615, allocations: 4.375 kB / 0.5869 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1616, allocations: 61.73 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1617, allocations: 4 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1617, allocations: 0 / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1617, allocations: 4 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.1618, allocations: 27.98 kB / 0.5869 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1621, allocations: 280.7 kB / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/0.1622, allocations: 34.5 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.1622, allocations: 16.86 kB / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/0.1627, allocations: 0.5583 MB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1627, allocations: 38.55 kB / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1627, allocations: 3.938 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000227/0.163, allocations: 61.59 kB / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.163, allocations: 51.53 kB / 0.588 GB, free: 340 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.1631, allocations: 133.5 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1631, allocations: 29.7 kB / 0.5881 GB, free: 164 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.1632, allocations: 88.08 kB / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.1632, allocations: 3.906 kB / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1632, allocations: 21.7 kB / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1634, allocations: 314.8 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.1634, allocations: 15.98 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.1635, allocations: 8 kB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.1635, allocations: 24.84 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1635, allocations: 0 / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001144/0.1637, allocations: 57.69 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1637, allocations: 4 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1637, allocations: 3.984 kB / 0.5886 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1637, allocations: 0 / 0.5886 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.1638, allocations: 12.03 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.1638, allocations: 4 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.1638, allocations: 0 / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1638, allocations: 3.938 kB / 0.5887 GB, free: 15.58 MB / 0.4981 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 6.831e-05/0.1639, allocations: 113.8 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1639, allocations: 7.906 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.1641, allocations: 61.2 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1641, allocations: 4.031 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1641, allocations: 0 / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1641, allocations: 0 / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1643, allocations: 169.6 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1643, allocations: 0 / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.1643, allocations: 4 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1643, allocations: 3.938 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1644, allocations: 4 kB / 0.589 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1644, allocations: 0 / 0.589 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1644, allocations: 7.922 kB / 0.589 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1645, allocations: 155.4 kB / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1646, allocations: 85.11 kB / 0.5892 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1646, allocations: 0 / 0.5892 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.1647, allocations: 3.984 kB / 0.5892 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.1647, allocations: 4 kB / 0.5892 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1647, allocations: 3.938 kB / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.1648, allocations: 99.2 kB / 0.5893 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1648, allocations: 4.031 kB / 0.5893 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002206/0.165, allocations: 8 kB / 0.5894 GB, free: 14.75 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 (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.0004386/0.1654, allocations: 0.6967 MB / 0.59 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1656, allocations: 28.02 kB / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1656, allocations: 0 / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.1657, allocations: 11.98 kB / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1659, allocations: 5.062 kB / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.167, allocations: 1.318 MB / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1673, allocations: 0.6848 MB / 0.592 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.1673, allocations: 3.984 kB / 0.592 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.1673, allocations: 15.44 kB / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1674, allocations: 0 / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.1876, allocations: 1.322 MB / 0.5933 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.1878, allocations: 172.9 kB / 0.5935 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.34, allocations: 3.938 kB / 0.5935 GB, free: 10.39 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)