Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",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.001352/0.001352, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9559/0.9559, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 64.78 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1885, allocations: 80.92 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002238/0.1908, allocations: 0.5768 MB / 0.585 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.459e-05/0.1908, allocations: 7.984 kB / 0.585 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.1908, allocations: 0 / 0.585 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.1909, allocations: 0 / 0.585 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.1909, allocations: 0 / 0.585 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.84e-05/0.1909, allocations: 4 kB / 0.585 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.686e-05/0.191, allocations: 4 kB / 0.585 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.1911, allocations: 0 / 0.585 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.182e-05/0.1911, allocations: 0 / 0.585 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.1911, allocations: 3.984 kB / 0.585 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1911, allocations: 3.938 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.1911, allocations: 0 / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1911, allocations: 4 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1912, allocations: 7.938 kB / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.116e-05/0.1912, allocations: 0 / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1912, allocations: 0 / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1912, allocations: 0 / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1913, allocations: 0 / 0.5851 GB, free: 3.824 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.0002829/0.1915, allocations: 315.6 kB / 0.5854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1916, allocations: 8.031 kB / 0.5854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1916, allocations: 34.69 kB / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.795e-05/0.1916, allocations: 0.9375 kB / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.1917, allocations: 164.4 kB / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1918, allocations: 384 / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.1918, allocations: 4.375 kB / 0.5856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.1919, allocations: 30.27 kB / 0.5856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1919, allocations: 3.938 kB / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1919, allocations: 0 / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1919, allocations: 0 / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.1919, allocations: 7.984 kB / 0.5856 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.192, allocations: 145.7 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.643e-05/0.1921, allocations: 22.52 kB / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.1921, allocations: 8.953 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1921, allocations: 0 / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1922, allocations: 30.56 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1922, allocations: 0 / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.1923, allocations: 45.62 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1923, allocations: 59.47 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.341e-05/0.1924, allocations: 89.86 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1924, allocations: 25.7 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.1924, allocations: 80.14 kB / 0.5861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1925, allocations: 3.906 kB / 0.5861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1925, allocations: 13.72 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1926, allocations: 314.8 kB / 0.5864 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.1926, allocations: 3.938 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.1926, allocations: 4 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.1927, allocations: 8.859 kB / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1927, allocations: 0 / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.767e-05/0.1927, allocations: 33.69 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1928, allocations: 11.94 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1928, allocations: 7.922 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1928, allocations: 0 / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.1929, allocations: 3.938 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1929, allocations: 0 / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.1929, allocations: 4.094 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.1929, allocations: 4 kB / 0.5865 GB, free: 2.129 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.683e-05/0.193, allocations: 109.8 kB / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.193, allocations: 0 / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.193, allocations: 7.062 kB / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.193, allocations: 0 / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.193, allocations: 3.984 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.193, allocations: 4 kB / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.537e-05/0.1931, allocations: 142 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1931, allocations: 4 kB / 0.5867 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.1931, allocations: 4 kB / 0.5867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1931, allocations: 0 / 0.5867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1932, allocations: 7.938 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1932, allocations: 0 / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1932, allocations: 0 / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.13e-05/0.1932, allocations: 61.06 kB / 0.5868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.1933, allocations: 77.11 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1933, allocations: 11.97 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-06/0.1933, allocations: 0 / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1933, allocations: 0 / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.1933, allocations: 0 / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.264e-05/0.1934, allocations: 75.28 kB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1934, allocations: 0 / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.1936, allocations: 0 / 0.587 GB, free: 1.535 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.0003386/0.1939, allocations: 0.5968 MB / 0.5876 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.218e-05/0.194, allocations: 11.94 kB / 0.5876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.194, allocations: 3.938 kB / 0.5876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.194, allocations: 4 kB / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1942, allocations: 3.984 kB / 0.5876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.1945, allocations: 110.8 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1947, allocations: 0.669 MB / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.11e-05/0.1947, allocations: 0 / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.1948, allocations: 7.438 kB / 0.5883 GB, free: 32 kB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1948, allocations: 0 / 0.5883 GB, free: 32 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.2137, allocations: 0.8622 MB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.712, allocations: 8.484 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)