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.00122/0.00122, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001437/0.001437, allocations: 210.7 kB / 23.04 MB, free: 5.074 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.803/0.803, allocations: 134 MB / 447.2 MB, free: 10.22 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="cs",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.001837/0.001837, allocations: 66.97 kB / 0.6193 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 85.91 MB / 0.7032 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.00264/0.1665, allocations: 1.58 MB / 0.7047 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1677, allocations: 0.6505 MB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.1677, allocations: 7.938 kB / 0.7054 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.1678, allocations: 11.88 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.1679, allocations: 19.84 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.1683, allocations: 107.7 kB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1685, allocations: 99.64 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1686, allocations: 16.5 kB / 0.7056 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1687, allocations: 63.7 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.1688, allocations: 39.83 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1688, allocations: 8 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.169, allocations: 107.8 kB / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.169, allocations: 23.92 kB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.1691, allocations: 39.73 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1693, allocations: 151.4 kB / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1693, allocations: 0 / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1693, allocations: 0 / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.1693, allocations: 4 kB / 0.706 GB, free: 14.47 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.0007445/0.1701, allocations: 383.5 kB / 0.7064 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1701, allocations: 8.031 kB / 0.7064 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.29e-05/0.1701, allocations: 4.188 kB / 0.7064 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.1702, allocations: 38.73 kB / 0.7064 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.1704, allocations: 32.83 kB / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1707, allocations: 146.2 kB / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.1707, allocations: 384 / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1707, allocations: 8.375 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.171, allocations: 106.4 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.171, allocations: 0 / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.171, allocations: 7.984 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.1711, allocations: 7.984 kB / 0.7067 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.1714, allocations: 91.84 kB / 0.7068 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.172, allocations: 315.8 kB / 0.7071 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1723, allocations: 90.5 kB / 0.7072 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1725, allocations: 60.81 kB / 0.7073 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1725, allocations: 0 / 0.7073 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.1728, allocations: 111.3 kB / 0.7074 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1728, allocations: 0 / 0.7074 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006416/0.1734, allocations: 209.7 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1735, allocations: 59.42 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1736, allocations: 142.7 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1736, allocations: 29.69 kB / 0.7078 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.1737, allocations: 108 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1737, allocations: 23.8 kB / 0.7079 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.1738, allocations: 29.7 kB / 0.7079 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1739, allocations: 322.8 kB / 0.7083 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1741, allocations: 59.94 kB / 0.7083 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1743, allocations: 55.95 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.1746, allocations: 157 kB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1746, allocations: 0 / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004533/0.1751, allocations: 187.3 kB / 0.7087 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.1751, allocations: 37.69 kB / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1751, allocations: 0 / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1752, allocations: 0 / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1753, allocations: 15.98 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1753, allocations: 11.88 kB / 0.7088 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.1754, allocations: 35.86 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1755, allocations: 0 / 0.7088 GB, free: 11.41 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.000102/0.1756, allocations: 117.8 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1756, allocations: 11.94 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.1756, allocations: 16.72 kB / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.1756, allocations: 4 kB / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1756, allocations: 3.938 kB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1756, allocations: 4 kB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.1758, allocations: 168.7 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1758, allocations: 0 / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1759, allocations: 15.97 kB / 0.7091 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1759, allocations: 4 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1759, allocations: 0 / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1759, allocations: 3.938 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1759, allocations: 3.938 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.1764, allocations: 193 kB / 0.7093 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.1764, allocations: 7.953 kB / 0.7093 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1764, allocations: 0 / 0.7093 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1765, allocations: 19.97 kB / 0.7093 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1766, allocations: 15.92 kB / 0.7094 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1766, allocations: 0 / 0.7094 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.588e-05/0.1767, allocations: 113.7 kB / 0.7095 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1767, allocations: 4 kB / 0.7095 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002361/0.1769, allocations: 39.94 kB / 0.7095 GB, free: 10.61 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.000774/0.1777, allocations: 0.7333 MB / 0.7102 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.1781, allocations: 179.2 kB / 0.7104 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1781, allocations: 0 / 0.7104 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.1783, allocations: 63.94 kB / 0.7105 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.1785, allocations: 12.39 kB / 0.7105 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.1809, allocations: 1.721 MB / 0.7121 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1812, allocations: 0.7002 MB / 0.7128 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.671e-05/0.1813, allocations: 15.97 kB / 0.7128 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.1813, allocations: 31.36 kB / 0.7129 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.1813, allocations: 0 / 0.7129 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2048, allocations: 3.005 MB / 0.7158 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.11, allocations: 9.609 kB / 0.7158 GB, free: 4.148 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.53757963294629] Failed to read output from testmodel.py, exit status != 0: 11.267277681967244 11.293176406 11.119352289 Calling exit ...