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.001022/0.001022, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001308/0.001308, allocations: 190 kB / 16.25 MB, free: 6.625 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 68.42 kB / 0.505 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.169, allocations: 80.93 MB / 0.584 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003144/0.1722, allocations: 1.547 MB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1734, allocations: 0.6282 MB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.1735, allocations: 0 / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.1735, allocations: 7.875 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.1736, allocations: 0 / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.174, allocations: 67.81 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.1741, allocations: 35.91 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1743, allocations: 19.98 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.1744, allocations: 11.94 kB / 0.5863 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.1744, allocations: 19.92 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1744, allocations: 3.938 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1746, allocations: 95.89 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.1747, allocations: 11.94 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.1747, allocations: 15.92 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1749, allocations: 84 kB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1749, allocations: 4 kB / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1749, allocations: 0 / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1749, allocations: 0 / 0.5865 GB, free: 2.199 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.000441/0.1754, allocations: 367.3 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1754, allocations: 8.031 kB / 0.5868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1755, allocations: 34.75 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1755, allocations: 4.938 kB / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1756, allocations: 180.2 kB / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1757, allocations: 384 / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.1757, allocations: 12.38 kB / 0.5871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1759, allocations: 49.81 kB / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1759, allocations: 0 / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1759, allocations: 4 kB / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1759, allocations: 0 / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.827e-05/0.176, allocations: 31.91 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.1764, allocations: 276.8 kB / 0.5874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.1765, allocations: 30.58 kB / 0.5874 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.1765, allocations: 24.84 kB / 0.5875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/0.177, allocations: 0.5505 MB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1771, allocations: 30.56 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1771, allocations: 8 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002483/0.1773, allocations: 65.58 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.1774, allocations: 51.41 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1775, allocations: 125.8 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1775, allocations: 25.7 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.1776, allocations: 92.08 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.1776, allocations: 3.906 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1776, allocations: 21.84 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.1777, allocations: 318.8 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.1778, allocations: 15.94 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.1778, allocations: 7.984 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.1779, allocations: 28.84 kB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1779, allocations: 0 / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001204/0.1781, allocations: 57.75 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1781, allocations: 4 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1781, allocations: 0 / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1781, allocations: 3.984 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.1782, allocations: 15.92 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1782, allocations: 0 / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.1782, allocations: 7.938 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1783, allocations: 3.938 kB / 0.5888 GB, free: 15.41 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.737e-05/0.1783, allocations: 113.9 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1784, allocations: 3.906 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.1785, allocations: 65.2 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1785, allocations: 0 / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1785, allocations: 0 / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.1785, allocations: 0 / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1787, allocations: 173.7 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1787, allocations: 3.984 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.1788, allocations: 4 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1788, allocations: 4.031 kB / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.1788, allocations: 0 / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1788, allocations: 0 / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1788, allocations: 4 kB / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.179, allocations: 159.3 kB / 0.5893 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.179, allocations: 81.11 kB / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1791, allocations: 0 / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.215e-05/0.1791, allocations: 4.031 kB / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1792, allocations: 3.984 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1792, allocations: 7.938 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.1792, allocations: 98.92 kB / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1792, allocations: 0 / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002329/0.1795, allocations: 16 kB / 0.5896 GB, free: 14.59 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.0004501/0.1799, allocations: 0.6889 MB / 0.5902 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1801, allocations: 23.98 kB / 0.5902 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1801, allocations: 0 / 0.5902 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.1801, allocations: 11.98 kB / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1804, allocations: 5.375 kB / 0.5903 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1816, allocations: 1.327 MB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.1818, allocations: 0.6807 MB / 0.5922 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.1818, allocations: 0 / 0.5922 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1818, allocations: 19.42 kB / 0.5922 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1819, allocations: 0 / 0.5922 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6416/0.8235, allocations: 1.365 MB / 0.5936 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.8237, allocations: 176.5 kB / 0.5937 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.991, allocations: 4 kB / 0.5937 GB, free: 10.19 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)