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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001112/0.001112, allocations: 195.2 kB / 16.14 MB, free: 6.66 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.77/0.77, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 64.03 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1465, allocations: 80.2 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002535/0.1491, allocations: 1.612 MB / 0.5811 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.15, allocations: 0.5767 MB / 0.5816 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.1501, allocations: 0 / 0.5816 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.698e-05/0.1502, allocations: 7.922 kB / 0.5816 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.1503, allocations: 19.86 kB / 0.5817 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1505, allocations: 71.84 kB / 0.5817 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1507, allocations: 91.64 kB / 0.5818 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.1508, allocations: 16.23 kB / 0.5818 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1509, allocations: 51.77 kB / 0.5819 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.151, allocations: 39.83 kB / 0.5819 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.151, allocations: 4 kB / 0.5819 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.1511, allocations: 63.89 kB / 0.582 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.1511, allocations: 15.92 kB / 0.582 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.1512, allocations: 39.72 kB / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1514, allocations: 135.8 kB / 0.5822 GB, free: 6.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1514, allocations: 0 / 0.5822 GB, free: 6.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1514, allocations: 0 / 0.5822 GB, free: 6.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1514, allocations: 0 / 0.5822 GB, free: 6.398 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.0007296/0.1522, allocations: 464.7 kB / 0.5826 GB, free: 5.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1522, allocations: 12.03 kB / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1522, allocations: 34.75 kB / 0.5827 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1523, allocations: 8.844 kB / 0.5827 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1525, allocations: 192.1 kB / 0.5828 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1525, allocations: 4.375 kB / 0.5829 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1525, allocations: 12.3 kB / 0.5829 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1528, allocations: 109.7 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1528, allocations: 0 / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1528, allocations: 4 kB / 0.583 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.1529, allocations: 4 kB / 0.583 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.1532, allocations: 87.91 kB / 0.5831 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.1538, allocations: 340.7 kB / 0.5834 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1542, allocations: 94.5 kB / 0.5835 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.1543, allocations: 64.88 kB / 0.5835 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1544, allocations: 0 / 0.5835 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.1547, allocations: 119.2 kB / 0.5837 GB, free: 4.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1547, allocations: 0 / 0.5837 GB, free: 4.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006403/0.1554, allocations: 201.5 kB / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1554, allocations: 63.33 kB / 0.5839 GB, free: 4.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1556, allocations: 139.8 kB / 0.584 GB, free: 4.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1556, allocations: 25.7 kB / 0.5841 GB, free: 4.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.1557, allocations: 108 kB / 0.5842 GB, free: 4.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1557, allocations: 19.66 kB / 0.5842 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.1558, allocations: 33.7 kB / 0.5842 GB, free: 4.078 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1559, allocations: 326.8 kB / 0.5845 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1561, allocations: 59.95 kB / 0.5846 GB, free: 3.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1562, allocations: 56 kB / 0.5846 GB, free: 3.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1566, allocations: 150.2 kB / 0.5848 GB, free: 3.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1566, allocations: 4 kB / 0.5848 GB, free: 3.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004366/0.1571, allocations: 195.1 kB / 0.585 GB, free: 3.277 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.1571, allocations: 29.7 kB / 0.585 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1571, allocations: 0 / 0.585 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1571, allocations: 4 kB / 0.585 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1573, allocations: 27.97 kB / 0.585 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1573, allocations: 0 / 0.585 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1574, allocations: 19.83 kB / 0.585 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1574, allocations: 7.938 kB / 0.5851 GB, free: 3.184 MB / 494.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 9.175e-05/0.1575, allocations: 126.5 kB / 0.5852 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1576, allocations: 7.906 kB / 0.5852 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.1576, allocations: 12.7 kB / 0.5852 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.1576, allocations: 15.94 kB / 0.5852 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1576, allocations: 0 / 0.5852 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1576, allocations: 3.984 kB / 0.5852 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1578, allocations: 193.6 kB / 0.5854 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1578, allocations: 3.938 kB / 0.5854 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1579, allocations: 19.97 kB / 0.5854 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.158, allocations: 0 / 0.5854 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.158, allocations: 0 / 0.5854 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.158, allocations: 0 / 0.5854 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.158, allocations: 0 / 0.5854 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1584, allocations: 192.8 kB / 0.5856 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.1585, allocations: 84.92 kB / 0.5857 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1585, allocations: 4.188 kB / 0.5857 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1586, allocations: 15.97 kB / 0.5857 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.1587, allocations: 15.92 kB / 0.5857 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1587, allocations: 8 kB / 0.5857 GB, free: 2.398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.1588, allocations: 117.2 kB / 0.5858 GB, free: 2.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1588, allocations: 0 / 0.5858 GB, free: 2.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1591, allocations: 39.98 kB / 0.5859 GB, free: 2.246 MB / 494.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.0007321/0.1598, allocations: 0.7294 MB / 0.5866 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.1603, allocations: 187.2 kB / 0.5868 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1603, allocations: 0 / 0.5868 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.1605, allocations: 59.95 kB / 0.5868 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1607, allocations: 15.92 kB / 0.5868 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.1628, allocations: 1.711 MB / 0.5885 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1631, allocations: 0.7043 MB / 0.5892 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.859e-05/0.1632, allocations: 15.98 kB / 0.5892 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1632, allocations: 27.42 kB / 0.5892 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1633, allocations: 0 / 0.5892 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.1746, allocations: 2.479 MB / 0.5917 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.1749, allocations: 184.6 kB / 0.5918 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.919, allocations: 0 / 0.5918 GB, free: 12.02 MB / 0.4981 GB (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)