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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 216.3 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8061/0.8061, allocations: 134 MB / 446.4 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 69.86 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1549, allocations: 85.91 MB / 0.7023 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002663/0.1576, allocations: 1.541 MB / 0.7039 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1587, allocations: 0.6116 MB / 0.7045 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.1587, allocations: 3.938 kB / 0.7045 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1588, allocations: 7.922 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.1589, allocations: 19.8 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1593, allocations: 111.7 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1595, allocations: 91.64 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1596, allocations: 20.5 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1597, allocations: 55.83 kB / 0.7047 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.1598, allocations: 47.77 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1598, allocations: 4 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.16, allocations: 95.89 kB / 0.7049 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.16, allocations: 19.92 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.1601, allocations: 27.86 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1603, allocations: 159.3 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1603, allocations: 0 / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1603, allocations: 3.938 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1603, allocations: 4 kB / 0.7051 GB, free: 14.24 MB / 0.5294 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.0007602/0.1611, allocations: 379.5 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1611, allocations: 12.03 kB / 0.7055 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.1611, allocations: 34.75 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.1614, allocations: 40.8 kB / 0.7055 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1616, allocations: 142.3 kB / 0.7057 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1616, allocations: 384 / 0.7057 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1617, allocations: 12.38 kB / 0.7057 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.162, allocations: 105.7 kB / 0.7058 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.162, allocations: 0 / 0.7058 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.162, allocations: 0 / 0.7058 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.162, allocations: 7.938 kB / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.1623, allocations: 87.91 kB / 0.7059 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.1629, allocations: 307.8 kB / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.1632, allocations: 90.5 kB / 0.7063 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1634, allocations: 52.88 kB / 0.7063 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1634, allocations: 4 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.1637, allocations: 115.4 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1637, allocations: 3.938 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006706/0.1644, allocations: 209.4 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1644, allocations: 51.41 kB / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1645, allocations: 148 kB / 0.7068 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1646, allocations: 29.7 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1646, allocations: 108.1 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1647, allocations: 31.78 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.1647, allocations: 25.7 kB / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1648, allocations: 318.8 kB / 0.7073 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.165, allocations: 85.64 kB / 0.7074 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.1652, allocations: 86.64 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.1656, allocations: 149 kB / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1656, allocations: 0 / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004596/0.166, allocations: 224.9 kB / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.1661, allocations: 33.7 kB / 0.7079 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1661, allocations: 4 kB / 0.7079 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1661, allocations: 7.938 kB / 0.7079 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1662, allocations: 19.97 kB / 0.7079 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.1662, allocations: 3.938 kB / 0.7079 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1664, allocations: 24.34 kB / 0.7079 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1664, allocations: 0 / 0.7079 GB, free: 11.11 MB / 0.5294 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.0001159/0.1665, allocations: 125.8 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.1665, allocations: 11.89 kB / 0.708 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.1666, allocations: 16.72 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.1666, allocations: 11.98 kB / 0.7081 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1666, allocations: 3.938 kB / 0.7081 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1666, allocations: 0 / 0.7081 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.1667, allocations: 152.7 kB / 0.7082 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1667, allocations: 4 kB / 0.7082 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1669, allocations: 19.97 kB / 0.7082 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1669, allocations: 4 kB / 0.7083 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1669, allocations: 0 / 0.7083 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1669, allocations: 0 / 0.7083 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1669, allocations: 3.938 kB / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.1673, allocations: 188.9 kB / 0.7084 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.1673, allocations: 11.94 kB / 0.7084 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1673, allocations: 4 kB / 0.7085 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1675, allocations: 11.98 kB / 0.7085 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.1675, allocations: 19.91 kB / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1675, allocations: 0 / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.1676, allocations: 109 kB / 0.7086 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1676, allocations: 4 kB / 0.7086 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002298/0.1678, allocations: 39.92 kB / 0.7086 GB, free: 10.32 MB / 0.5294 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.0007771/0.1686, allocations: 0.7294 MB / 0.7093 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004684/0.1691, allocations: 212.9 kB / 0.7095 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1691, allocations: 0 / 0.7095 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.1693, allocations: 59.95 kB / 0.7096 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.1695, allocations: 23.91 kB / 0.7096 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.1719, allocations: 1.832 MB / 0.7114 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.552e-05/0.1719, allocations: 85.31 kB / 0.7115 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.124e-05/0.172, allocations: 15.98 kB / 0.7115 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.1721, allocations: 31.42 kB / 0.7115 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.1721, allocations: 0 / 0.7115 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.208, allocations: 3.391 MB / 0.7149 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.99, allocations: 8.297 kB / 0.7149 GB, free: 3.902 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.417736581992358] Failed to read output from testmodel.py, exit status != 0: 11.091774509754032 11.108947704 10.945535266 Calling exit ...