Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",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.001043/0.001043, 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.001036/0.001036, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9143/0.9143, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 73.23 kB / 0.505 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1838, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.00194/0.1858, allocations: 0.6259 MB / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002385/0.186, allocations: 47.84 kB / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.1861, allocations: 0 / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.1861, allocations: 0 / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.1861, allocations: 0 / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1864, allocations: 15.92 kB / 0.5847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.007e-05/0.1864, allocations: 4 kB / 0.5847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.1865, allocations: 0 / 0.5847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.1865, allocations: 4 kB / 0.5847 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.1865, allocations: 7.984 kB / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1866, allocations: 0 / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1867, allocations: 15.98 kB / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1867, allocations: 3.938 kB / 0.5847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.1867, allocations: 4 kB / 0.5847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.292e-05/0.1868, allocations: 19.97 kB / 0.5847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1868, allocations: 0 / 0.5847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1868, allocations: 3.938 kB / 0.5847 GB, free: 4.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1868, allocations: 0 / 0.5847 GB, free: 4.031 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002788/0.1871, allocations: 311.6 kB / 0.585 GB, free: 3.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1872, allocations: 12.03 kB / 0.5851 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1872, allocations: 30.75 kB / 0.5851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.1875, allocations: 20.89 kB / 0.5851 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1876, allocations: 164.4 kB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1876, allocations: 384 / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.1876, allocations: 384 / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1878, allocations: 42.19 kB / 0.5853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1878, allocations: 3.938 kB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1878, allocations: 0 / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1878, allocations: 4 kB / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.1879, allocations: 11.98 kB / 0.5853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.188, allocations: 145.7 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.1881, allocations: 22.61 kB / 0.5855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1882, allocations: 16.91 kB / 0.5855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1882, allocations: 0 / 0.5855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1882, allocations: 38.5 kB / 0.5855 GB, free: 3.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1882, allocations: 4 kB / 0.5855 GB, free: 3.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002259/0.1885, allocations: 41.62 kB / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1885, allocations: 55.39 kB / 0.5856 GB, free: 2.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.284e-05/0.1886, allocations: 97.98 kB / 0.5857 GB, free: 2.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1886, allocations: 29.64 kB / 0.5858 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.1886, allocations: 80.14 kB / 0.5858 GB, free: 2.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1886, allocations: 7.906 kB / 0.5858 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1887, allocations: 9.719 kB / 0.5858 GB, free: 2.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.1888, allocations: 314.8 kB / 0.5861 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.1888, allocations: 3.984 kB / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.1889, allocations: 8 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.189, allocations: 20.78 kB / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.189, allocations: 0 / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001126/0.1891, allocations: 41.69 kB / 0.5862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1891, allocations: 4 kB / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1891, allocations: 11.92 kB / 0.5862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1892, allocations: 0 / 0.5862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.1892, allocations: 8.078 kB / 0.5862 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1892, allocations: 4 kB / 0.5862 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.1893, allocations: 0 / 0.5862 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1893, allocations: 0 / 0.5862 GB, free: 2.262 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.38e-05/0.1894, allocations: 105.8 kB / 0.5863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1894, allocations: 7.984 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.1894, allocations: 11 kB / 0.5864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1894, allocations: 0 / 0.5864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1894, allocations: 4 kB / 0.5864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1894, allocations: 3.938 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/0.1895, allocations: 141.7 kB / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1895, allocations: 0 / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.1896, allocations: 7.984 kB / 0.5865 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1896, allocations: 0 / 0.5865 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1896, allocations: 3.938 kB / 0.5865 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1896, allocations: 0 / 0.5865 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1896, allocations: 4 kB / 0.5865 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1897, allocations: 65.12 kB / 0.5866 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1898, allocations: 81.38 kB / 0.5867 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1898, allocations: 3.938 kB / 0.5867 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.12e-05/0.1898, allocations: 4 kB / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.1899, allocations: 0 / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1899, allocations: 4 kB / 0.5867 GB, free: 1.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.322e-05/0.1899, allocations: 79.22 kB / 0.5867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1899, allocations: 4.031 kB / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001732/0.1901, allocations: 8 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0003875/0.1905, allocations: 0.6023 MB / 0.5873 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1906, allocations: 16.02 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1906, allocations: 0 / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.1907, allocations: 11.92 kB / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1908, allocations: 7.938 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.1911, allocations: 122.2 kB / 0.5875 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1913, allocations: 0.669 MB / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.1914, allocations: 8.125 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.1914, allocations: 7.438 kB / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1914, allocations: 0 / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009428/0.2009, allocations: 0.8378 MB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.2011, allocations: 193.5 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.808, allocations: 3.938 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)