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.00148/0.00148, allocations: 97.97 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.001514/0.001514, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.485/2.485, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.211/1.211, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005424/0.0005425, allocations: 12 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.8719, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003777/0.8758, allocations: 1.227 MB / 0.5842 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.8778, allocations: 0.5506 MB / 0.5847 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.8779, allocations: 4.812 kB / 0.5847 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.8781, allocations: 2.547 kB / 0.5847 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.8782, allocations: 21.08 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.8788, allocations: 73.11 kB / 0.5848 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.879, allocations: 51.41 kB / 0.5848 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.8793, allocations: 17.09 kB / 0.5849 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.8795, allocations: 43 kB / 0.5849 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.8797, allocations: 37.16 kB / 0.5849 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.8798, allocations: 3.375 kB / 0.5849 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.88, allocations: 52.53 kB / 0.585 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.8801, allocations: 19.98 kB / 0.585 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.8802, allocations: 39.36 kB / 0.585 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.8806, allocations: 91.66 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8806, allocations: 0.7188 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.8806, allocations: 0 / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.8806, allocations: 1.312 kB / 0.5851 GB, free: 2.543 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.001414/0.8821, allocations: 450.8 kB / 0.5856 GB, free: 2.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.183e-05/0.8822, allocations: 8.75 kB / 0.5856 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.965e-05/0.8822, allocations: 38.8 kB / 0.5856 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.8823, allocations: 8.875 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.8827, allocations: 196.7 kB / 0.5858 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.8827, allocations: 3.047 kB / 0.5858 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.8827, allocations: 10.89 kB / 0.5858 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.8834, allocations: 120.7 kB / 0.5859 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8834, allocations: 0.6562 kB / 0.5859 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.8834, allocations: 1.766 kB / 0.5859 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.8835, allocations: 8.141 kB / 0.5859 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.8842, allocations: 104.9 kB / 0.586 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.8854, allocations: 364.9 kB / 0.5864 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.886, allocations: 105.4 kB / 0.5865 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.8861, allocations: 1.656 kB / 0.5865 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/0.8867, allocations: 125.7 kB / 0.5866 GB, free: 1.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.8867, allocations: 0 / 0.5866 GB, free: 1.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.001387/0.8881, allocations: 313.8 kB / 0.5869 GB, free: 1.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.8882, allocations: 65.52 kB / 0.587 GB, free: 1.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.8885, allocations: 137.8 kB / 0.5871 GB, free: 1.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.8885, allocations: 30.92 kB / 0.5871 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.8886, allocations: 103.8 kB / 0.5872 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.8887, allocations: 21.36 kB / 0.5873 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.8887, allocations: 4.844 kB / 0.5873 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8889, allocations: 321.8 kB / 0.5876 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.8893, allocations: 69.14 kB / 0.5876 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.8897, allocations: 65.5 kB / 0.5877 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.8902, allocations: 95.91 kB / 0.5878 GB, free: 484 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8902, allocations: 0 / 0.5878 GB, free: 484 kB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009907/0.8912, allocations: 224.3 kB / 0.588 GB, free: 376 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/0.8913, allocations: 37.44 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.8913, allocations: 1.25 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.8914, allocations: 0 / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.8917, allocations: 23.27 kB / 0.5881 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.8917, allocations: 0.8438 kB / 0.5881 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.892, allocations: 27.52 kB / 0.5881 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.8921, allocations: 3.203 kB / 0.5881 GB, free: 332 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 ($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.0002017/0.8923, allocations: 122.4 kB / 0.5882 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.8923, allocations: 7.906 kB / 0.5882 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.8924, allocations: 16.25 kB / 0.5882 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.8924, allocations: 5.891 kB / 0.5882 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.8925, allocations: 0 / 0.5882 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.8925, allocations: 0.6562 kB / 0.5882 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.8929, allocations: 206.4 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.8929, allocations: 0 / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.8931, allocations: 29.92 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8931, allocations: 0.625 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.8932, allocations: 6.25 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.8932, allocations: 8.453 kB / 0.5885 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8932, allocations: 0.9688 kB / 0.5885 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.894, allocations: 198.9 kB / 0.5887 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.8942, allocations: 84.98 kB / 0.5887 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.8942, allocations: 1.281 kB / 0.5887 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.8944, allocations: 17.77 kB / 0.5888 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.8946, allocations: 24.39 kB / 0.5888 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.8946, allocations: 3.562 kB / 0.5888 GB, free: 15.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.8947, allocations: 105.3 kB / 0.5889 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8948, allocations: 1.344 kB / 0.5889 GB, free: 15.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000549/0.8953, allocations: 40.25 kB / 0.5889 GB, free: 15.65 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 (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.001437/0.8968, allocations: 0.7532 MB / 0.5897 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009918/0.8978, allocations: 200.1 kB / 0.5899 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8978, allocations: 0 / 0.5899 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.8982, allocations: 79.06 kB / 0.5899 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.8986, allocations: 11.45 kB / 0.5899 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.9019, allocations: 0.8117 MB / 0.5907 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.9025, allocations: 0.7027 MB / 0.5914 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.9027, allocations: 22.42 kB / 0.5914 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.9028, allocations: 27.52 kB / 0.5915 GB, free: 13.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.774e-06/0.9028, allocations: 0 / 0.5915 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.9281, allocations: 2.393 MB / 0.5938 GB, free: 13.49 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.9285, allocations: 166.5 kB / 0.594 GB, free: 13.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/3.769, allocations: 0 / 0.594 GB, free: 13.26 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/linux/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) Environment - environmentSimulation: