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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009729/0.009729, allocations: 170.3 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9542/0.9542, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.826/1.826, allocations: 223.2 MB / 406.8 MB, free: 3.148 MB / 330.7 MB 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: 96.03 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6134, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.7789, allocations: 112.9 MB / 0.7598 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.7793, allocations: 71.97 kB / 0.7598 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.7899, allocations: 3.559 MB / 0.7633 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7899, allocations: 0 / 0.7633 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.79, allocations: 0 / 0.7633 GB, free: 15.45 MB / 0.5417 GB 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.0007452/0.7907, allocations: 464.5 kB / 0.7638 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.7908, allocations: 15.97 kB / 0.7638 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.7908, allocations: 30.56 kB / 0.7638 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.7909, allocations: 11.89 kB / 0.7638 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.7911, allocations: 205.5 kB / 0.764 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.7911, allocations: 4 kB / 0.764 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.7912, allocations: 4 kB / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.7915, allocations: 113.6 kB / 0.7641 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7915, allocations: 4 kB / 0.7641 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.7915, allocations: 0 / 0.7641 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.7916, allocations: 3.984 kB / 0.7641 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.7919, allocations: 107.9 kB / 0.7642 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.7926, allocations: 368.7 kB / 0.7646 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.793, allocations: 106.5 kB / 0.7647 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.793, allocations: 4.062 kB / 0.7647 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.7933, allocations: 131.3 kB / 0.7648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.7933, allocations: 0 / 0.7648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0007797/0.7941, allocations: 310.6 kB / 0.7651 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.7942, allocations: 51.41 kB / 0.7652 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.7943, allocations: 125 kB / 0.7653 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.7943, allocations: 29.7 kB / 0.7653 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.7944, allocations: 108 kB / 0.7654 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.7945, allocations: 23.64 kB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.7945, allocations: 4 kB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7946, allocations: 318.8 kB / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.7948, allocations: 63.94 kB / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.795, allocations: 72.22 kB / 0.7659 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.7952, allocations: 97.66 kB / 0.766 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7952, allocations: 4.094 kB / 0.766 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000488/0.7957, allocations: 207.1 kB / 0.7662 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.7958, allocations: 45.64 kB / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.7958, allocations: 0 / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.7958, allocations: 0 / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.796, allocations: 27.92 kB / 0.7662 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.796, allocations: 4 kB / 0.7662 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.7962, allocations: 19.97 kB / 0.7663 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.7962, allocations: 8 kB / 0.7663 GB, free: 12.15 MB / 0.5417 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: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0001271/0.7964, allocations: 117.8 kB / 0.7664 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.7964, allocations: 7.906 kB / 0.7664 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.7969, allocations: 194.2 kB / 0.7666 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7969, allocations: 0 / 0.7666 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.7969, allocations: 0 / 0.7666 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7969, allocations: 3.938 kB / 0.7666 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.7971, allocations: 213.4 kB / 0.7668 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7972, allocations: 4 kB / 0.7668 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.7973, allocations: 23.98 kB / 0.7668 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7973, allocations: 0 / 0.7668 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.7973, allocations: 3.984 kB / 0.7668 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.7973, allocations: 3.953 kB / 0.7668 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7973, allocations: 0 / 0.7668 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.7978, allocations: 200.9 kB / 0.767 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.7979, allocations: 85.02 kB / 0.7671 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.7979, allocations: 4 kB / 0.7671 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.798, allocations: 19.98 kB / 0.7671 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.7981, allocations: 19.92 kB / 0.7671 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.7981, allocations: 4 kB / 0.7671 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.7982, allocations: 109.1 kB / 0.7672 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7982, allocations: 3.938 kB / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002913/0.7985, allocations: 40 kB / 0.7673 GB, free: 11.02 MB / 0.5417 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: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008558/0.7994, allocations: 0.7567 MB / 0.768 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.7999, allocations: 232.9 kB / 0.7682 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7999, allocations: 0 / 0.7682 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.8002, allocations: 106 kB / 0.7683 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.8004, allocations: 12.62 kB / 0.7684 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.8021, allocations: 0.8322 MB / 0.7692 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.8024, allocations: 0.7004 MB / 0.7699 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.055e-05/0.8025, allocations: 11.98 kB / 0.7699 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.8026, allocations: 27.42 kB / 0.7699 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/0.8026, allocations: 0 / 0.7699 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.8193, allocations: 2.412 MB / 0.7722 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.8196, allocations: 181.5 kB / 0.7724 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.618, allocations: 3.5 kB / 0.7724 GB, free: 5.66 MB / 0.5417 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)