Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",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.001016/0.001016, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0008438/0.0008439, allocations: 177.3 kB / 15.94 MB, free: 228 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.321/1.321, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1888, allocations: 82.31 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001443/0.1903, allocations: 1.229 MB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000796/0.1911, allocations: 0.5342 MB / 0.589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.1911, allocations: 3.938 kB / 0.589 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.155e-05/0.1912, allocations: 3.984 kB / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.1913, allocations: 19.91 kB / 0.589 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1916, allocations: 71.78 kB / 0.5891 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.1917, allocations: 51.92 kB / 0.5891 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1918, allocations: 20.22 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.1919, allocations: 35.84 kB / 0.5892 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.192, allocations: 43.83 kB / 0.5892 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.192, allocations: 0 / 0.5892 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.1921, allocations: 43.97 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.1922, allocations: 19.91 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.1922, allocations: 41.62 kB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1923, allocations: 96.05 kB / 0.5894 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1923, allocations: 4 kB / 0.5894 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1924, allocations: 0 / 0.5894 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1924, allocations: 3.938 kB / 0.5894 GB, free: 0.7812 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007087/0.1931, allocations: 448.6 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1931, allocations: 12.03 kB / 0.5899 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.1932, allocations: 34.56 kB / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1932, allocations: 11.91 kB / 0.5899 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1934, allocations: 190.9 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1934, allocations: 11.92 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.1934, allocations: 4 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1937, allocations: 117.6 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1938, allocations: 0 / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1938, allocations: 0 / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.1938, allocations: 4 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.1941, allocations: 111.9 kB / 0.5903 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.1947, allocations: 360.5 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.1951, allocations: 106.5 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1951, allocations: 4 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.1954, allocations: 123.3 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1954, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007041/0.1962, allocations: 318.5 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1962, allocations: 59.34 kB / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1963, allocations: 139.9 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1964, allocations: 25.7 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.1965, allocations: 104 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1965, allocations: 27.77 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.1965, allocations: 8 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1967, allocations: 318.8 kB / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.1969, allocations: 64.33 kB / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1971, allocations: 79.83 kB / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.1973, allocations: 89.66 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1973, allocations: 4 kB / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004809/0.1978, allocations: 219 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.1978, allocations: 31.42 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1978, allocations: 11.95 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1979, allocations: 0 / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.198, allocations: 23.98 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1981, allocations: 3.984 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1982, allocations: 23.92 kB / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1982, allocations: 0 / 0.5924 GB, free: 13.49 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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 0.0001254/0.1984, allocations: 121.8 kB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1984, allocations: 11.89 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1984, allocations: 16.72 kB / 0.5925 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.1985, allocations: 3.953 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1985, allocations: 4 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1985, allocations: 0 / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1987, allocations: 197.5 kB / 0.5927 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1987, allocations: 0 / 0.5927 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1988, allocations: 27.92 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1989, allocations: 0 / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1989, allocations: 11.97 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1989, allocations: 80 / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1989, allocations: 7.938 kB / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.1994, allocations: 196.9 kB / 0.593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.1994, allocations: 85.02 kB / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1995, allocations: 0 / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1996, allocations: 23.98 kB / 0.5931 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1997, allocations: 23.86 kB / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1997, allocations: 4 kB / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.181e-05/0.1998, allocations: 105.7 kB / 0.5932 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1999, allocations: 0 / 0.5932 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002952/0.2002, allocations: 36.19 kB / 0.5932 GB, free: 12.53 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009162/0.2011, allocations: 0.7645 MB / 0.594 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.2016, allocations: 199.3 kB / 0.5942 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2016, allocations: 0 / 0.5942 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.2018, allocations: 75.89 kB / 0.5942 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.202, allocations: 19.59 kB / 0.5943 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2037, allocations: 0.8191 MB / 0.5951 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.204, allocations: 0.7004 MB / 0.5957 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.163e-05/0.2041, allocations: 15.97 kB / 0.5957 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.2041, allocations: 31.42 kB / 0.5958 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2042, allocations: 0 / 0.5958 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.118/2.322, allocations: 2.385 MB / 0.5981 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007589/2.323, allocations: 174.8 kB / 0.5983 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/4.05, allocations: 4 kB / 0.5983 GB, free: 7.301 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) Environment - environmentSimulation: