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.008044/0.008045, allocations: 102.8 kB / 15.73 MB, free: 5.586 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.001544/0.001544, allocations: 188.4 kB / 16.67 MB, free: 5.523 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7877/0.7877, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 72.77 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.166, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002508/0.1686, allocations: 1.489 MB / 0.6606 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1697, allocations: 0.6435 MB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.1697, allocations: 0 / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.1698, allocations: 0 / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.1699, allocations: 15.88 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.1705, allocations: 75.72 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1707, allocations: 35.92 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1708, allocations: 15.98 kB / 0.6614 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.171, allocations: 15.94 kB / 0.6614 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.621e-05/0.1711, allocations: 19.91 kB / 0.6614 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1711, allocations: 4 kB / 0.6614 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.1714, allocations: 91.91 kB / 0.6615 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.1714, allocations: 11.94 kB / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.1715, allocations: 23.84 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1717, allocations: 82.59 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1718, allocations: 0 / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1718, allocations: 4 kB / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.1718, allocations: 0 / 0.6617 GB, free: 8.188 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.0006217/0.1724, allocations: 360.2 kB / 0.662 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1725, allocations: 8.031 kB / 0.662 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.1725, allocations: 38.75 kB / 0.662 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1726, allocations: 4.844 kB / 0.662 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1727, allocations: 176.3 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1727, allocations: 4.375 kB / 0.6622 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1728, allocations: 4.375 kB / 0.6622 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.173, allocations: 53.81 kB / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.173, allocations: 0 / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.173, allocations: 7.875 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.173, allocations: 4 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.942e-05/0.1731, allocations: 27.97 kB / 0.6623 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1736, allocations: 284.7 kB / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.1737, allocations: 30.52 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.1738, allocations: 20.91 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.1743, allocations: 0.5622 MB / 0.6632 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1743, allocations: 30.56 kB / 0.6632 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1744, allocations: 0 / 0.6632 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002813/0.1746, allocations: 61.67 kB / 0.6633 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1747, allocations: 55.41 kB / 0.6633 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1748, allocations: 122.9 kB / 0.6634 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1748, allocations: 29.83 kB / 0.6635 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.1749, allocations: 84.14 kB / 0.6635 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.1749, allocations: 15.84 kB / 0.6636 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.175, allocations: 13.66 kB / 0.6636 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.1751, allocations: 326.8 kB / 0.6639 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.1751, allocations: 4 kB / 0.6639 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.1752, allocations: 11.98 kB / 0.6639 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.1752, allocations: 32.91 kB / 0.6639 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1752, allocations: 0 / 0.6639 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001223/0.1754, allocations: 57.59 kB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1754, allocations: 4 kB / 0.664 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1754, allocations: 0 / 0.664 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1754, allocations: 4 kB / 0.664 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.1755, allocations: 11.92 kB / 0.664 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1755, allocations: 0 / 0.664 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.1755, allocations: 4.031 kB / 0.664 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1756, allocations: 7.938 kB / 0.664 GB, free: 5.402 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.648e-05/0.1756, allocations: 110.7 kB / 0.6641 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1757, allocations: 7.906 kB / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.1758, allocations: 57.2 kB / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1758, allocations: 0 / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1759, allocations: 3.938 kB / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1759, allocations: 0 / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.176, allocations: 173.6 kB / 0.6644 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.176, allocations: 3.984 kB / 0.6644 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.1761, allocations: 4 kB / 0.6644 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.1761, allocations: 4 kB / 0.6644 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.1761, allocations: 0 / 0.6644 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1761, allocations: 3.938 kB / 0.6644 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1761, allocations: 0 / 0.6644 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1763, allocations: 155.5 kB / 0.6645 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.1763, allocations: 85.02 kB / 0.6646 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1763, allocations: 0 / 0.6646 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.1764, allocations: 0 / 0.6646 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1764, allocations: 7.984 kB / 0.6646 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1764, allocations: 0 / 0.6646 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.1765, allocations: 104.6 kB / 0.6647 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1765, allocations: 0 / 0.6647 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002216/0.1767, allocations: 8 kB / 0.6647 GB, free: 4.582 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.0004312/0.1772, allocations: 0.6851 MB / 0.6654 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1773, allocations: 23.98 kB / 0.6654 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1773, allocations: 0 / 0.6654 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.1774, allocations: 16.08 kB / 0.6654 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.1776, allocations: 10.81 kB / 0.6654 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.179, allocations: 1.312 MB / 0.6667 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1792, allocations: 0.6807 MB / 0.6674 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.1792, allocations: 12.05 kB / 0.6674 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1793, allocations: 15.44 kB / 0.6674 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1793, allocations: 0 / 0.6674 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.1958, allocations: 1.499 MB / 0.6689 GB, free: 272 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.62, allocations: 10.11 kB / 0.6689 GB, free: 264 kB / 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)