Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_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.001023/0.001024, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.007159/0.007159, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7438/0.7438, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 8.906 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3707, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001528/0.3722, allocations: 1.267 MB / 0.585 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.3732, allocations: 0.5876 MB / 0.5855 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.3732, allocations: 3.938 kB / 0.5856 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.577e-05/0.3733, allocations: 7.094 kB / 0.5856 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.3734, allocations: 16.3 kB / 0.5856 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.3737, allocations: 68.59 kB / 0.5856 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3738, allocations: 85.83 kB / 0.5857 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3739, allocations: 18.58 kB / 0.5857 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.3741, allocations: 48.05 kB / 0.5858 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.3742, allocations: 39.52 kB / 0.5858 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3742, allocations: 4.031 kB / 0.5858 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3743, allocations: 64.78 kB / 0.5859 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.3743, allocations: 20.64 kB / 0.5859 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.3744, allocations: 57.47 kB / 0.586 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3746, allocations: 132.1 kB / 0.5861 GB, free: 2.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3746, allocations: 0.75 kB / 0.5861 GB, free: 2.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3746, allocations: 0 / 0.5861 GB, free: 2.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.3746, allocations: 1.219 kB / 0.5861 GB, free: 2.469 MB / 430.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.0006796/0.3753, allocations: 449.8 kB / 0.5865 GB, free: 2.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3754, allocations: 9.312 kB / 0.5865 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.3754, allocations: 38.12 kB / 0.5866 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.3755, allocations: 10.77 kB / 0.5866 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3756, allocations: 201.3 kB / 0.5868 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3756, allocations: 6.906 kB / 0.5868 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3756, allocations: 3.906 kB / 0.5868 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.376, allocations: 119.4 kB / 0.5869 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.376, allocations: 0.7969 kB / 0.5869 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.376, allocations: 1.125 kB / 0.5869 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.376, allocations: 4.844 kB / 0.5869 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.3764, allocations: 107.7 kB / 0.587 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.377, allocations: 361.6 kB / 0.5873 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.3773, allocations: 110.3 kB / 0.5874 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3775, allocations: 64.45 kB / 0.5875 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3775, allocations: 1.375 kB / 0.5875 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.3779, allocations: 133.2 kB / 0.5876 GB, free: 1.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.3779, allocations: 0.6875 kB / 0.5876 GB, free: 1.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006837/0.3786, allocations: 239.4 kB / 0.5879 GB, free: 1.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.3786, allocations: 53.34 kB / 0.5879 GB, free: 1.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.3787, allocations: 142.4 kB / 0.5881 GB, free: 1.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3787, allocations: 27.2 kB / 0.5881 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.3788, allocations: 99.69 kB / 0.5882 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3788, allocations: 29.31 kB / 0.5882 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.3788, allocations: 17.77 kB / 0.5882 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.3789, allocations: 326.6 kB / 0.5885 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3791, allocations: 69.45 kB / 0.5886 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3793, allocations: 65.94 kB / 0.5887 GB, free: 0.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.3797, allocations: 168.3 kB / 0.5888 GB, free: 440 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3798, allocations: 4 kB / 0.5888 GB, free: 436 kB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005065/0.3803, allocations: 213.4 kB / 0.589 GB, free: 340 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.3803, allocations: 40.3 kB / 0.5891 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3803, allocations: 0.6562 kB / 0.5891 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3803, allocations: 1.422 kB / 0.5891 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3805, allocations: 23.52 kB / 0.5891 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3805, allocations: 0.6562 kB / 0.5891 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3807, allocations: 23.03 kB / 0.5891 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.3807, allocations: 11.02 kB / 0.5891 GB, free: 288 kB / 430.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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.3808, allocations: 126.9 kB / 0.5892 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.3808, allocations: 9.875 kB / 0.5893 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.3808, allocations: 15.7 kB / 0.5893 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.3809, allocations: 8.25 kB / 0.5893 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3809, allocations: 1.031 kB / 0.5893 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3809, allocations: 0.6094 kB / 0.5893 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3811, allocations: 198.9 kB / 0.5895 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3811, allocations: 0 / 0.5895 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3812, allocations: 26.2 kB / 0.5895 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3812, allocations: 3.938 kB / 0.5895 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3813, allocations: 1.656 kB / 0.5895 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3813, allocations: 1.859 kB / 0.5895 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3813, allocations: 0 / 0.5895 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.3818, allocations: 214 kB / 0.5897 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.3819, allocations: 85.34 kB / 0.5898 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.3819, allocations: 6.234 kB / 0.5898 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.382, allocations: 18.02 kB / 0.5898 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.3821, allocations: 18.34 kB / 0.5898 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3821, allocations: 3.312 kB / 0.5898 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.52e-05/0.3822, allocations: 114.7 kB / 0.5899 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3822, allocations: 1.156 kB / 0.5899 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3825, allocations: 36.17 kB / 0.59 GB, free: 15.61 MB / 446.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: 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 (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.0008106/0.3833, allocations: 0.7509 MB / 0.5907 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.3838, allocations: 208.1 kB / 0.5909 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3839, allocations: 0 / 0.5909 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.3841, allocations: 71.66 kB / 0.591 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.3843, allocations: 16.73 kB / 0.591 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.3868, allocations: 1.768 MB / 0.5927 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.3871, allocations: 0.7057 MB / 0.5934 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.71e-05/0.3872, allocations: 12.28 kB / 0.5934 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.3872, allocations: 26.8 kB / 0.5934 GB, free: 12.81 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3872, allocations: 0 / 0.5934 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/1.479, allocations: 2.408 MB / 0.5958 GB, free: 12.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/1.479, allocations: 187.9 kB / 0.596 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/3.133, allocations: 0 / 0.596 GB, free: 12.34 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)