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.001421/0.001421, allocations: 101.5 kB / 16.45 MB, free: 6.449 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.001522/0.001522, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.367/1.367, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.7995/0.7995, allocations: 133.9 MB / 442.8 MB, free: 11.32 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.001863/0.001863, allocations: 70.86 kB / 0.6134 GB, free: 8.797 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1631, allocations: 85.85 MB / 0.6972 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002827/0.1659, allocations: 1.566 MB / 0.6988 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1672, allocations: 0.6466 MB / 0.6994 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.1672, allocations: 0 / 0.6994 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1673, allocations: 15.86 kB / 0.6994 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.1674, allocations: 19.8 kB / 0.6994 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.1679, allocations: 107.7 kB / 0.6995 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.168, allocations: 91.7 kB / 0.6996 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1681, allocations: 28.14 kB / 0.6996 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1683, allocations: 51.84 kB / 0.6997 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1684, allocations: 47.81 kB / 0.6997 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1684, allocations: 8 kB / 0.6997 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1686, allocations: 95.84 kB / 0.6998 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1686, allocations: 19.92 kB / 0.6999 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.1687, allocations: 47.72 kB / 0.6999 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.169, allocations: 155.6 kB / 0.7 GB, free: 112 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.169, allocations: 0 / 0.7 GB, free: 112 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.169, allocations: 0 / 0.7 GB, free: 112 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.169, allocations: 4 kB / 0.7001 GB, free: 108 kB / 0.5137 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.0009402/0.1699, allocations: 464.7 kB / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.17, allocations: 9.109 kB / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.17, allocations: 34.75 kB / 0.7005 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.1703, allocations: 36.81 kB / 0.7006 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1706, allocations: 200.2 kB / 0.7008 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1706, allocations: 384 / 0.7008 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1706, allocations: 8.359 kB / 0.7008 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1709, allocations: 113.7 kB / 0.7009 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1709, allocations: 3.938 kB / 0.7009 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.171, allocations: 0 / 0.7009 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.171, allocations: 7.984 kB / 0.7009 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.1713, allocations: 87.92 kB / 0.701 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.172, allocations: 348.6 kB / 0.7013 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.1723, allocations: 90.52 kB / 0.7014 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.1725, allocations: 52.88 kB / 0.7014 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1725, allocations: 0 / 0.7014 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.1729, allocations: 111.3 kB / 0.7016 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1729, allocations: 0 / 0.7016 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0007049/0.1736, allocations: 217.5 kB / 0.7018 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.1736, allocations: 55.41 kB / 0.7018 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1738, allocations: 144.8 kB / 0.702 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1738, allocations: 33.69 kB / 0.702 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.1739, allocations: 100 kB / 0.7021 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1739, allocations: 35.73 kB / 0.7021 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.174, allocations: 29.7 kB / 0.7021 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.1741, allocations: 318.8 kB / 0.7024 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1743, allocations: 55.95 kB / 0.7025 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.1745, allocations: 60.23 kB / 0.7026 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1749, allocations: 146.6 kB / 0.7027 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1749, allocations: 3.938 kB / 0.7027 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004909/0.1754, allocations: 200.9 kB / 0.7029 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.1754, allocations: 33.7 kB / 0.7029 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1755, allocations: 0 / 0.7029 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1755, allocations: 4 kB / 0.7029 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1756, allocations: 19.97 kB / 0.7029 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.1756, allocations: 3.938 kB / 0.7029 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1758, allocations: 27.88 kB / 0.703 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1758, allocations: 4 kB / 0.703 GB, free: 12.85 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.0001178/0.1759, allocations: 121.8 kB / 0.7031 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1759, allocations: 7.953 kB / 0.7031 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.176, allocations: 16.72 kB / 0.7031 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.176, allocations: 8 kB / 0.7031 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.176, allocations: 7.922 kB / 0.7031 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.176, allocations: 0 / 0.7031 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1762, allocations: 189.6 kB / 0.7033 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1762, allocations: 3.938 kB / 0.7033 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1763, allocations: 19.97 kB / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1763, allocations: 0 / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1763, allocations: 0 / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1763, allocations: 0 / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1763, allocations: 7.938 kB / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.1768, allocations: 184.9 kB / 0.7035 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1769, allocations: 85.06 kB / 0.7036 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1769, allocations: 3.984 kB / 0.7036 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.177, allocations: 19.98 kB / 0.7036 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.1771, allocations: 15.92 kB / 0.7036 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.1771, allocations: 0 / 0.7036 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.009e-05/0.1772, allocations: 111.2 kB / 0.7037 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1772, allocations: 3.938 kB / 0.7038 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000254/0.1774, allocations: 43.92 kB / 0.7038 GB, free: 11.91 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.0008993/0.1783, allocations: 0.7334 MB / 0.7045 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.1788, allocations: 171.3 kB / 0.7047 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1788, allocations: 0 / 0.7047 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.1791, allocations: 71.88 kB / 0.7047 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1793, allocations: 11.92 kB / 0.7048 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1819, allocations: 1.723 MB / 0.7064 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1823, allocations: 0.7002 MB / 0.7071 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.413e-05/0.1824, allocations: 7.984 kB / 0.7071 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.1824, allocations: 35.42 kB / 0.7072 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1824, allocations: 0 / 0.7072 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.2086, allocations: 2.817 MB / 0.7099 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.001, allocations: 7 kB / 0.7099 GB, free: 5.59 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.49435080299736] Failed to read output from testmodel.py, exit status != 0: 8.069094795995625 8.094913604 7.921109766 Calling exit ...