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.00136/0.00136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00156/0.00156, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 67.45 kB / 0.5049 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1581, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003042/0.1612, allocations: 1.597 MB / 0.5855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1623, allocations: 0.5727 MB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.1623, allocations: 4 kB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.1625, allocations: 3.938 kB / 0.5861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.1626, allocations: 15.84 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.163, allocations: 79.86 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1632, allocations: 99.64 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1633, allocations: 20.23 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1635, allocations: 47.83 kB / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.1636, allocations: 47.83 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1636, allocations: 4 kB / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1637, allocations: 59.89 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.1638, allocations: 23.92 kB / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1638, allocations: 43.72 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.164, allocations: 131.9 kB / 0.5867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.164, allocations: 0 / 0.5867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1641, allocations: 0 / 0.5867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1641, allocations: 0 / 0.5867 GB, free: 2.043 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.0007709/0.1648, allocations: 460.6 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.1649, allocations: 12.03 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.165, allocations: 38.73 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.1651, allocations: 8.844 kB / 0.5872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1653, allocations: 196.1 kB / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1654, allocations: 8.344 kB / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.1654, allocations: 8.359 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.1659, allocations: 113.8 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1659, allocations: 0 / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1659, allocations: 0 / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.166, allocations: 7.984 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.1663, allocations: 87.86 kB / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.167, allocations: 340.7 kB / 0.5879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1673, allocations: 90.52 kB / 0.588 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1675, allocations: 68.81 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1676, allocations: 0 / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.1679, allocations: 115.3 kB / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1679, allocations: 0 / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006237/0.1686, allocations: 213.4 kB / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1686, allocations: 59.41 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1688, allocations: 135.9 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1688, allocations: 25.7 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.1689, allocations: 108 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1689, allocations: 19.72 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.169, allocations: 29.7 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1691, allocations: 326.8 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1693, allocations: 56.06 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.1695, allocations: 55.89 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.1698, allocations: 156.5 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1698, allocations: 0 / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000447/0.1703, allocations: 191.2 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.1703, allocations: 31.73 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1703, allocations: 4 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1704, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1705, allocations: 31.91 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1705, allocations: 4.078 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1707, allocations: 19.83 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1707, allocations: 15.91 kB / 0.5896 GB, free: 14.81 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 (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 0.0001018/0.1708, allocations: 121.8 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1708, allocations: 7.906 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.1709, allocations: 12.72 kB / 0.5897 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.1709, allocations: 7.984 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1709, allocations: 4 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1709, allocations: 0 / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.1711, allocations: 198 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1711, allocations: 0 / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1712, allocations: 19.97 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1713, allocations: 0 / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1713, allocations: 0 / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1713, allocations: 7.938 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1713, allocations: 0 / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.1717, allocations: 188.8 kB / 0.5901 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.1718, allocations: 81.02 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1718, allocations: 7.984 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1719, allocations: 11.98 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.172, allocations: 11.98 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.172, allocations: 7.984 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.23e-05/0.1721, allocations: 117.8 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1721, allocations: 0 / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002616/0.1724, allocations: 43.91 kB / 0.5904 GB, free: 13.88 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 (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.000763/0.1731, allocations: 0.7333 MB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.1737, allocations: 183.2 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1737, allocations: 0 / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.1739, allocations: 63.89 kB / 0.5913 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1741, allocations: 19.97 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1764, allocations: 1.73 MB / 0.593 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1767, allocations: 0.6963 MB / 0.5937 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.959e-05/0.1768, allocations: 19.97 kB / 0.5937 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.1769, allocations: 31.42 kB / 0.5938 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1769, allocations: 0 / 0.5938 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/0.4365, allocations: 2.567 MB / 0.5963 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.4368, allocations: 185.3 kB / 0.5964 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/2.528, allocations: 0 / 0.5964 GB, free: 7.574 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/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)