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.001066/0.001066, allocations: 90.75 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.001161/0.00116, 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.513/1.513, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.3 MB / 426.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 9.312 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1996, allocations: 82.31 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001681/0.2014, allocations: 1.242 MB / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.2023, allocations: 0.5341 MB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.2024, allocations: 4 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.964e-05/0.2024, allocations: 3.938 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.2025, allocations: 15.86 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.2028, allocations: 67.86 kB / 0.5893 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.2029, allocations: 91.62 kB / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2031, allocations: 16.22 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2032, allocations: 35.91 kB / 0.5894 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.2033, allocations: 35.83 kB / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2033, allocations: 4 kB / 0.5895 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.2034, allocations: 55.89 kB / 0.5895 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.2035, allocations: 15.92 kB / 0.5895 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.2035, allocations: 37.64 kB / 0.5896 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2037, allocations: 96.05 kB / 0.5896 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2037, allocations: 0 / 0.5896 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2037, allocations: 4 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2037, allocations: 0 / 0.5897 GB, free: 0.6094 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.0007442/0.2045, allocations: 444.7 kB / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2045, allocations: 8.031 kB / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.2045, allocations: 42.55 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.2046, allocations: 11.91 kB / 0.5901 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.2048, allocations: 197 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.2048, allocations: 0 / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.2048, allocations: 11.98 kB / 0.5903 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.2052, allocations: 113.6 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2052, allocations: 4 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2052, allocations: 3.984 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.2052, allocations: 12 kB / 0.5905 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.2055, allocations: 103.9 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.2062, allocations: 360.6 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.2065, allocations: 102.5 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.2067, allocations: 72.88 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2067, allocations: 0 / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.207, allocations: 127.2 kB / 0.5912 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.207, allocations: 4 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006592/0.2077, allocations: 237.5 kB / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.2077, allocations: 55.41 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2079, allocations: 141.8 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.2079, allocations: 29.7 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.208, allocations: 104 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.208, allocations: 23.7 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.208, allocations: 0 / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2082, allocations: 318.8 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2084, allocations: 71.94 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.2085, allocations: 67.95 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.2087, allocations: 101.3 kB / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2087, allocations: 0 / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004436/0.2092, allocations: 219.1 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.2092, allocations: 29.7 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2093, allocations: 7.891 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2093, allocations: 4 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2094, allocations: 19.98 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2094, allocations: 8.047 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2096, allocations: 31.92 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2096, allocations: 0 / 0.5926 GB, free: 13.34 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.0001052/0.2097, allocations: 117.8 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.2097, allocations: 11.89 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.2098, allocations: 12.72 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.2098, allocations: 7.938 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2098, allocations: 4 kB / 0.5927 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2098, allocations: 4.469 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.21, allocations: 201.5 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2101, allocations: 0 / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2102, allocations: 19.98 kB / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2102, allocations: 0 / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.2102, allocations: 11.92 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2102, allocations: 3.938 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2102, allocations: 3.953 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.2106, allocations: 200.9 kB / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.2107, allocations: 89.02 kB / 0.5933 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.2107, allocations: 0 / 0.5933 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2109, allocations: 19.98 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.2109, allocations: 19.92 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2109, allocations: 0 / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.772e-05/0.211, allocations: 113.1 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.211, allocations: 4 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002628/0.2113, allocations: 32 kB / 0.5934 GB, free: 12.38 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.0007713/0.2121, allocations: 0.7529 MB / 0.5942 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.2126, allocations: 199.3 kB / 0.5944 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2126, allocations: 0 / 0.5944 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2129, allocations: 79.89 kB / 0.5944 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.2131, allocations: 19.88 kB / 0.5945 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2146, allocations: 0.8154 MB / 0.5953 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2149, allocations: 0.7005 MB / 0.5959 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.215, allocations: 12.17 kB / 0.596 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.2151, allocations: 31.36 kB / 0.596 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2151, allocations: 0 / 0.596 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.2295, allocations: 2.416 MB / 0.5983 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.2297, allocations: 186.1 kB / 0.5985 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.093, allocations: 0 / 0.5985 GB, free: 7.137 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: