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.0009863/0.0009863, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008319/0.0008319, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9276/0.9276, allocations: 135.3 MB / 426.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.000305, allocations: 12.97 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1657, allocations: 82.3 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001914/0.1677, allocations: 1.2 MB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1688, allocations: 0.5818 MB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.1689, allocations: 0 / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.1689, allocations: 4 kB / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.169, allocations: 3.938 kB / 0.5892 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1694, allocations: 51.88 kB / 0.5893 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.1695, allocations: 39.86 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1696, allocations: 11.98 kB / 0.5893 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.1697, allocations: 15.92 kB / 0.5893 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.1698, allocations: 15.92 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1698, allocations: 4 kB / 0.5893 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.17, allocations: 87.91 kB / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.17, allocations: 7.922 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.17, allocations: 33.7 kB / 0.5895 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1702, allocations: 52.2 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1702, allocations: 0 / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1702, allocations: 0 / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1702, allocations: 0 / 0.5895 GB, free: 0.7422 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.0004208/0.1706, allocations: 363.2 kB / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1707, allocations: 8.031 kB / 0.5899 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.1707, allocations: 34.56 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.1707, allocations: 4 kB / 0.5899 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1709, allocations: 178.9 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1709, allocations: 0 / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1709, allocations: 4 kB / 0.5901 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1711, allocations: 57.67 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1711, allocations: 0 / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1711, allocations: 4 kB / 0.5901 GB, free: 0 / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.1711, allocations: 4.047 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.1712, allocations: 39.91 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1716, allocations: 280.7 kB / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.1717, allocations: 30.58 kB / 0.5905 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.1718, allocations: 24.84 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004373/0.1722, allocations: 0.5544 MB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1722, allocations: 34.56 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1722, allocations: 0 / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.1725, allocations: 77.52 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1725, allocations: 55.36 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1727, allocations: 123.1 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1727, allocations: 25.7 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.1727, allocations: 92.14 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1727, allocations: 7.969 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.1728, allocations: 4 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.1728, allocations: 318.8 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.1729, allocations: 8 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.1729, allocations: 15.98 kB / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.173, allocations: 8 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.173, allocations: 4.062 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.1731, allocations: 65.53 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1731, allocations: 10.02 kB / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1731, allocations: 0 / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1732, allocations: 0 / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.1732, allocations: 4 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1732, allocations: 4 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.1733, allocations: 7.984 kB / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1733, allocations: 4 kB / 0.5919 GB, free: 13.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.1734, allocations: 113.8 kB / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1734, allocations: 4 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.1736, allocations: 73.08 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1736, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1736, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1736, allocations: 4.031 kB / 0.5921 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.1737, allocations: 173.5 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1737, allocations: 0 / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.1738, allocations: 12 kB / 0.5922 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1738, allocations: 0 / 0.5922 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1738, allocations: 0 / 0.5922 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.1738, allocations: 3.984 kB / 0.5922 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1738, allocations: 0 / 0.5922 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.174, allocations: 155.5 kB / 0.5924 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.174, allocations: 81.02 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.174, allocations: 0 / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.1741, allocations: 11.98 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.1741, allocations: 0 / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1742, allocations: 3.938 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.1742, allocations: 106.8 kB / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1742, allocations: 0 / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002195/0.1744, allocations: 8 kB / 0.5926 GB, free: 13.14 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 (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.0004429/0.1749, allocations: 0.693 MB / 0.5933 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.175, allocations: 23.98 kB / 0.5933 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.175, allocations: 0 / 0.5933 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.1751, allocations: 23.92 kB / 0.5933 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.1753, allocations: 0 / 0.5933 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.176, allocations: 474.8 kB / 0.5938 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.1763, allocations: 0.6848 MB / 0.5944 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.1763, allocations: 4 kB / 0.5944 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.1763, allocations: 15.42 kB / 0.5945 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1763, allocations: 0 / 0.5945 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0109/0.1872, allocations: 1.255 MB / 0.5957 GB, free: 10 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.1874, allocations: 165.2 kB / 0.5958 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.88, allocations: 0 / 0.5958 GB, free: 9.762 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/linux/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) Environment - environmentSimulation: