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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 187.7 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 251 MB, free: 13.02 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.8629/0.8629, allocations: 134 MB / 440.2 MB, free: 228 kB / 334.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.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: translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.89 kB / 0.6107 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1738, allocations: 84.73 MB / 0.6934 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002805/0.1766, allocations: 1.544 MB / 0.6949 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1776, allocations: 0.5959 MB / 0.6955 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.1777, allocations: 7.938 kB / 0.6955 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1778, allocations: 7.922 kB / 0.6955 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.1779, allocations: 23.8 kB / 0.6956 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.1783, allocations: 91.75 kB / 0.6957 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1784, allocations: 107.6 kB / 0.6958 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1786, allocations: 8.234 kB / 0.6958 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1787, allocations: 55.77 kB / 0.6958 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.1788, allocations: 43.77 kB / 0.6959 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.1788, allocations: 8 kB / 0.6959 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.179, allocations: 91.91 kB / 0.696 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.179, allocations: 23.91 kB / 0.696 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.1791, allocations: 39.73 kB / 0.696 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1793, allocations: 139.5 kB / 0.6962 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1793, allocations: 8 kB / 0.6962 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1793, allocations: 0 / 0.6962 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1793, allocations: 0 / 0.6962 GB, free: 6.258 MB / 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.0008365/0.1802, allocations: 379.5 kB / 0.6965 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1802, allocations: 8.031 kB / 0.6965 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1803, allocations: 8.891 kB / 0.6965 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1805, allocations: 148.2 kB / 0.6967 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1805, allocations: 384 / 0.6967 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.1805, allocations: 12.31 kB / 0.6967 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.1808, allocations: 110.6 kB / 0.6968 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1808, allocations: 0 / 0.6968 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1809, allocations: 0 / 0.6968 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.1809, allocations: 4 kB / 0.6968 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.1812, allocations: 87.91 kB / 0.6969 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.1819, allocations: 319.7 kB / 0.6972 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1823, allocations: 90.5 kB / 0.6973 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.1825, allocations: 56.88 kB / 0.6973 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1825, allocations: 0 / 0.6973 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.1828, allocations: 119.3 kB / 0.6974 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1828, allocations: 0 / 0.6974 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0007161/0.1835, allocations: 205.7 kB / 0.6976 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1836, allocations: 55.41 kB / 0.6977 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1837, allocations: 140.7 kB / 0.6978 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1837, allocations: 37.64 kB / 0.6979 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.1838, allocations: 100 kB / 0.698 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.1839, allocations: 31.73 kB / 0.698 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.1839, allocations: 29.7 kB / 0.698 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.184, allocations: 322.8 kB / 0.6983 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1843, allocations: 55.95 kB / 0.6984 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1845, allocations: 59.95 kB / 0.6984 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.1848, allocations: 144.2 kB / 0.6986 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1849, allocations: 4.109 kB / 0.6986 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005033/0.1854, allocations: 207.1 kB / 0.6988 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1854, allocations: 36.83 kB / 0.6988 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1854, allocations: 0 / 0.6988 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1854, allocations: 0 / 0.6988 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.1856, allocations: 19.98 kB / 0.6988 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1856, allocations: 3.984 kB / 0.6988 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1857, allocations: 19.94 kB / 0.6988 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1858, allocations: 0 / 0.6988 GB, free: 3.297 MB / 0.5137 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.0001139/0.1859, allocations: 129.7 kB / 0.699 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1859, allocations: 11.94 kB / 0.699 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.1859, allocations: 12.72 kB / 0.699 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.1859, allocations: 4 kB / 0.699 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1859, allocations: 4 kB / 0.699 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.186, allocations: 0 / 0.699 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1861, allocations: 172.6 kB / 0.6992 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1861, allocations: 0 / 0.6992 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1863, allocations: 15.98 kB / 0.6992 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1863, allocations: 4 kB / 0.6992 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1863, allocations: 3.984 kB / 0.6992 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1863, allocations: 0 / 0.6992 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1863, allocations: 0 / 0.6992 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.1868, allocations: 189 kB / 0.6994 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.1868, allocations: 11.89 kB / 0.6994 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1868, allocations: 11.88 kB / 0.6994 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1869, allocations: 11.98 kB / 0.6994 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.187, allocations: 19.97 kB / 0.6994 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.187, allocations: 4 kB / 0.6994 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.1871, allocations: 107.2 kB / 0.6995 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1871, allocations: 0 / 0.6995 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002572/0.1874, allocations: 35.94 kB / 0.6996 GB, free: 2.492 MB / 0.5137 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.0001826/0.1875, allocations: 115.2 kB / 0.6997 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.1881, allocations: 183.2 kB / 0.6998 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1881, allocations: 0 / 0.6998 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.1883, allocations: 59.95 kB / 0.6999 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.1885, allocations: 10.17 kB / 0.6999 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.1891, allocations: 235.7 kB / 0.7001 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1895, allocations: 0.7041 MB / 0.7008 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.306e-05/0.1896, allocations: 19.75 kB / 0.7008 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1896, allocations: 11.44 kB / 0.7009 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1896, allocations: 0 / 0.7009 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of Templates: time 0.00462/0.1942, allocations: 1.47 MB / 0.7023 GB, free: 15.63 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.494627612642944] Failed to read output from testmodel.py, exit status != 0: 0.2020179172977805 0.21793878700000002 0.035482528 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0fb75a97b0>