Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_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.006553/0.006553, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001351/0.001351, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.69 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002794/0.1633, allocations: 1.499 MB / 0.6607 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1643, allocations: 0.6319 MB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.1644, allocations: 3.938 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.1645, allocations: 4 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.1645, allocations: 11.88 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1649, allocations: 71.73 kB / 0.6614 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.165, allocations: 39.91 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.1651, allocations: 15.98 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.1652, allocations: 15.94 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.1652, allocations: 19.92 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1652, allocations: 4 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1654, allocations: 99.83 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.1655, allocations: 7.938 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.1655, allocations: 23.86 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1657, allocations: 84.33 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1657, allocations: 0 / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1657, allocations: 0 / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1657, allocations: 0 / 0.6617 GB, free: 11.46 MB / 0.4981 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.0004597/0.1662, allocations: 366.5 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1662, allocations: 12.03 kB / 0.662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.1662, allocations: 34.73 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.1663, allocations: 8.844 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1664, allocations: 168.3 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1664, allocations: 8.375 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1664, allocations: 384 / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1666, allocations: 53.81 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1666, allocations: 0 / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1666, allocations: 11.92 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1666, allocations: 4 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.1667, allocations: 27.92 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1671, allocations: 276.7 kB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.1672, allocations: 38.5 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.1672, allocations: 12.92 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/0.1677, allocations: 0.5583 MB / 0.6632 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1677, allocations: 30.56 kB / 0.6632 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1677, allocations: 0 / 0.6632 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002471/0.168, allocations: 65.67 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.168, allocations: 51.41 kB / 0.6633 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.1681, allocations: 129.1 kB / 0.6634 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1681, allocations: 25.7 kB / 0.6635 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1682, allocations: 88.14 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.1682, allocations: 7.984 kB / 0.6636 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1682, allocations: 13.7 kB / 0.6636 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.1683, allocations: 326.7 kB / 0.6639 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.1684, allocations: 4 kB / 0.6639 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.1684, allocations: 19.98 kB / 0.6639 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.1685, allocations: 24.84 kB / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1685, allocations: 0 / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.1686, allocations: 53.59 kB / 0.664 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1686, allocations: 8 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1687, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1687, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.1687, allocations: 7.984 kB / 0.664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1688, allocations: 11.97 kB / 0.664 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.1688, allocations: 4 kB / 0.664 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1688, allocations: 3.938 kB / 0.664 GB, free: 8.688 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.332e-05/0.1689, allocations: 110.5 kB / 0.6641 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1689, allocations: 7.984 kB / 0.6641 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.1691, allocations: 61.12 kB / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1691, allocations: 0 / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1691, allocations: 11.95 kB / 0.6642 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1691, allocations: 4 kB / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1693, allocations: 169.6 kB / 0.6644 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1693, allocations: 0 / 0.6644 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.1693, allocations: 8 kB / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1693, allocations: 0 / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1693, allocations: 0 / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1693, allocations: 0 / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1694, allocations: 3.938 kB / 0.6644 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1695, allocations: 159.5 kB / 0.6645 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.1696, allocations: 81.02 kB / 0.6646 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1696, allocations: 0 / 0.6646 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.1697, allocations: 7.984 kB / 0.6646 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1697, allocations: 0 / 0.6646 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.1697, allocations: 0 / 0.6646 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.1698, allocations: 103.2 kB / 0.6647 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1698, allocations: 0 / 0.6647 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002354/0.17, allocations: 12.03 kB / 0.6647 GB, free: 7.855 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.0004816/0.1705, allocations: 0.6851 MB / 0.6654 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1706, allocations: 19.98 kB / 0.6654 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1707, allocations: 4.094 kB / 0.6654 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/0.1707, allocations: 15.98 kB / 0.6654 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1709, allocations: 4 kB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1722, allocations: 1.31 MB / 0.6667 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1725, allocations: 0.6846 MB / 0.6674 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.1725, allocations: 11.98 kB / 0.6674 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1726, allocations: 11.44 kB / 0.6674 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1726, allocations: 0 / 0.6674 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.1887, allocations: 1.491 MB / 0.6689 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.585, allocations: 6.469 kB / 0.6689 GB, free: 3.566 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)